🧠JAVA QUIZ — Can You Get It Right?
What will be the output of this Java code?
String s1 = new String("Hello");
String s2 = new String("Hello");
System.out.println(s1 == s2);1 month ago • Binary Brain Lab
🧠JAVA QUIZ — Can You Get It Right?
What will be the output of this Java code?
String s1 = new String("Hello");
String s2 = new String("Hello");
System.out.println(s1 == s2);True
False
Compilation Error
Runtime Error
2 answered
0
0
1 month ago • Binary Brain Lab
1
0