結果 : write a program to implement all methods of string buffer class