Q. What is the output of the following code snippet?
Code:
String s1 = “Hello”; String s2 = new String(“Hello”); System.out.println(sA)equals(s2));
Discusssion
Login to discuss.