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