Check out example codes for "java string append char". It will help you in understanding the concepts better.

Code Example 1

StringBuilder sbf = new StringBuilder("Welcome geeks!"); 
System.out.println( sbf); //will print "Welcome geeks!"

sbf.append('T'); 
System.out.println( sbf); //will print "Welcome geeks!T"

Learn ReactJs, React Native from akashmittal.com