Prashnikaप्रश्निका
Code
About
‹ Back to the paper

Question 1(vi)

1 mark

Computer ScienceISC 2022 Computer Science - Specimen paper (Semester 2), Paper 1OutputArrays, Strings

What is the output of the following code?

What is the output of the statement given below? System.out.print("FAN" + ("AUTOMATIC".charAt(5)));

Answer

Answer

Output: FANA The character at index 5 of "AUTOMATIC" is 'A', which is joined to "FAN".