2005-01-10 | Paul Boddie | file changeset files shortlog | Replaced object with java.lang.Object as the standard base class. Introduced explicit parameters and conversion of String objects (with other conversions envisaged). |
paul@67 | 1 | public class ArrayTest { |
paul@67 | 2 | public int[] array; |
paul@67 | 3 | |
paul@67 | 4 | public ArrayTest(int size) { |
paul@67 | 5 | array = new int[size]; |
paul@67 | 6 | } |
paul@67 | 7 | |
paul@67 | 8 | public int get(int index) { |
paul@67 | 9 | return array[index]; |
paul@67 | 10 | } |
paul@67 | 11 | } |