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