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