java.lang.StringBuffer
A string buffer implements a mutable sequence of characters.
append() and insert().
The binary concatenation operator +:
x = "a" + 4 + "c"
equals
x = new StringBuffer().append("a").append(4).append("c").toString();
Previous slide
Next slide
Back to first slide
View graphic version