My Java Quiz

The ultimate place to learn Java!

Question #13: What will be printed?

String s1 = new String("a");
String s2 = new String("a");

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