tests/ArrayTest.java | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/ArrayTest.java Sat Nov 20 21:46:46 2004 +0100 1.3 @@ -0,0 +1,11 @@ 1.4 +public class ArrayTest { 1.5 + public int[] array; 1.6 + 1.7 + public ArrayTest(int size) { 1.8 + array = new int[size]; 1.9 + } 1.10 + 1.11 + public int get(int index) { 1.12 + return array[index]; 1.13 + } 1.14 +}