2005-01-10 | Paul Boddie | file changeset files shortlog | Moved the lang module contents into the lang package. Fixed various java.lang and java.io circular imports by introducing a java.lang._object module. Corrected various base classes (object -> java.lang.Object, Exception -> java.lang.Exception) and fixed raising of exceptions in certain cases. |
paul@75 | 1 | public class StringTest { |
paul@75 | 2 | private String s; |
paul@75 | 3 | private String s2 = new String("abc"); |
paul@75 | 4 | private static String s3; |
paul@75 | 5 | private static String s4 = new String("xyz"); |
paul@75 | 6 | |
paul@75 | 7 | public StringTest() { |
paul@75 | 8 | s = s2; |
paul@75 | 9 | } |
paul@75 | 10 | |
paul@75 | 11 | public StringTest(String newString) { |
paul@75 | 12 | s = newString; |
paul@75 | 13 | } |
paul@75 | 14 | } |