結果 : write a program to implement all methods of stringbuffer class in java