My Java Quiz

The ultimate place to learn Java!

Question #16: What will be printed?

String s1 = "a";
String s2 = "a";
System.out.println(s1 == s2);