In Java, how to append a string more efficiently?

Use StringBuilder class. It is more efficient at what you are trying to do.

Leave a Comment