What is StringBuffer in Java?

StringBuffer is a peer class of String that provides much of the functionality of strings . String represents fixed-length, immutable character sequences while StringBuffer represents growable and writable character sequences. StringBuffer may have characters and substrings inserted in the middle or appended to the end.

Sizin İçin Seçtik  What is difference between == equals () and compare to () method?

Leave a Reply

Your email address will not be published. Required fields are marked *