Practice Test Geeks home

SCJP Sun Certified Java Programmer MCQ 4

What is the output of the following code?
String s1 = "Java";

String s2 = "Java";

System.out.println(s1 == s2);

Select your answer