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