1 public class StringTest { 2 private String s; 3 private String s2 = new String("abc"); 4 private static String s3; 5 private static String s4 = new String("xyz"); 6 7 public StringTest() { 8 s = s2; 9 } 10 11 public StringTest(String newString) { 12 s = newString; 13 } 14 }