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
o
B
H
C
e
D
l
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);
o
H
e
l
Not enough data yet to show leaderboard.