javaclass

tests/FieldTest.java

130:e82008ab3e71
2005-01-14 Paul Boddie Added the mainloop method.
     1 public class FieldTest {     2     private int a;     3     protected int b = 123;     4     protected FieldTestClass c;     5     protected FieldTestClass d = null;     6     public FieldTestClass e = new FieldTestClass(456);     7     public FieldTestClass f = new FieldTestClass(b + e.a);     8     public static FieldTestClass g;     9     public static FieldTestClass h = new FieldTestClass(789);    10 }    11     12 class FieldTestClass {    13     public int a;    14     15     public FieldTestClass(int a) {    16         this.a = a;    17     }    18 }