2 September 2003CS 201J Fall 200316 Java Semantics Question public class Strings { public static void test () { String s = new String ( hello ); String t = new String ( hello ); StringBuffer sb = new StringBuffer ( he ); StringBuffer tb = sb; String s1 = hello ; String t1 = hello ; sb.append ( llo ); tb.append ( goodbye! ); s.concat ( goodbye! ); t = s.concat ( goodbye! ); } } s hello java.lang.String t sb tb hello java.lang.String he java.lang.StringBuffer s1 t1 hello java.lang.String hello goodbye! java.lang.String
{}