Q. What is the output of the following code snippet?
Code:
String s1 = “Hello”; int i = 2; System.out.println(sA)charAt(i));
Discusssion
Login to discuss.