java tutorial - Java stringbuffer append() method - java programming - learn java - java basics - java for beginners
Learn Java - Java tutorial - Java stringbuffer append - Java examples - Java programs
Description
The append () method — updates the value of the object that called the method. This method in Java accepts boolean, char, int, long, Strings, etc.
Syntax
Syntax method for each data type:
Options
Detailed information about the parameters:
- here the parameter depends on what you are trying to add to the string buffer (StringBuffer).
Return value
- In Java, append () returns the updated StringBuffer objects.