StringBuffer, with its nature of mutability, comes with many methods that do not exist in String. One useful method is append() method which appends anything to the existing contents. Following is the method signature as defined StringBuffer class. public StringBuffer append(String str): String str is appended at the end of the contents existed in StringBuffer. […]
↧