KnowledgeBoat Logo

Output Questions for Class 10 ICSE Computer Applications

What do the following functions return?


String x = "Vision";
String y = "2020";
System.out.println(x.charAt(3));

Java

Java String Handling

ICSE

23 Likes

Answer

i

Working

x.charAt(3) will return the character at index 3 of string x which is i.

Answered By

13 Likes