I have a number of string in Java which is to be appended efficiently.
How to append String in Java?
StringBuilder class is very useful class for this purpose. This class is very efficient and you can use it for appending large number of Spring efficiently and then get final string.
The append() of the class is used:
You check complete tutorial at Appending String in Java.