Question PRG-JAVA-0038
EasyWhat is the output of this program?
public class Main {
public static void main(String[] args) {
String s = "Java";
System.out.println(s.charAt(2));
}
}
- A.
v
- B.
a
- C.
Sign up free to see the answer and a step-by-step explanation.