1 public class StringBufferTest { 2 StringBuffer sb1; 3 StringBuffer sb2; 4 String s; 5 public StringBufferTest(String a, String b) { 6 sb1 = new StringBuffer(a); 7 sb2 = new StringBuffer(b); 8 s = a + b; 9 } 10 }