Search posts, tags, users, and pages
Shai Almog
When you do String s = "A" + otherString;
String s = "A" + otherString;
javac produces StringBuilder under the hood. Prior to JDK 1.5 it produced StringBuffer which was a major source of performance overhead in Java.
StringBuilder
StringBuffer