Java StringBuffer class
StringBuffer is a String peer class that provides a lot of the same functionality as strings. StringBuffer represents growable and writable character sequences, whereas a string represents fixed-length, immutable character sequences. Characters and substrings can be inserted in the middle or appended to the end of a StringBuffer. Constructors of StringBuffer class : 1. StringBuffer(): It saves […]
June 16, 2022 | Java | No comments