Printing in java

why in java printing with help of stringbuilder is faster than simple string printing

Check this link -

 http://javarevisited.blogspot.in/2011/07/string-vs-stringbuffer-vs-stringbuilder.html 

.
May be, this link is helpful for you.

1 Like

check this http://www.techtamasha.com/difference-between-string-and-stringbufferstringbuilder-in-java/28

//