Search posts, tags, users, and pages
Shai Almog
Yak Barber, duck whisperer, hunter of bugs, feeder of dogs, heap climber, stack explorer and rider of shells
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