What is the difference between these two following statements?
String s = \"text\"; String s = new String(\"text\");
Although it looks the same from a programmers point of view, it has big performance impact. You would want to use the first form almost always.