String charAt Method
What is printed as a result of executing the following code segment?
String s = "Hello";
char letter = s.charAt(1);
System.out.println(letter);
A
H
B
l
C
o
D
e
Question Leaderboard
Not enough data yet to show leaderboard.
What is printed as a result of executing the following code segment?
String s = "Hello";
char letter = s.charAt(1);
System.out.println(letter);
H
l
o
e
Not enough data yet to show leaderboard.