This method replaces the characters in a substring of this sequence with characters in the specified
String .The substring begins at the specified start and extends to the character at index end - 1 or to the end of the sequence if no such character exists. First the characters in the substring are removed and then the specified String is inserted at start.
StringBuffer Method:
StringBufferDemo6 CODE class StringBufferDemo6 OUTPUT Stringbuffer = Java Util Package DESCRIPTION In the above program at THINGS TO TRY
|