My Java Quiz

The ultimate place to learn Java!

Question #17: What will be printed?

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