A
Q. What is the output of the following code snippet?
Code:
String s1 = “Hello”;
int i = 2;
System.out.println(sA)charAt(i));
int i = 2;
System.out.println(sA)charAt(i));
- Correct Answer - Option(A)
- Views: 15
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.