Howdy!
I have some problems with arrays.... ( still? ). Consider the following code
1. int i[5][];
2. int i[][];
3. int []i[];
4. int i[5][5];
5. int[][] a;
My notes:
1 is illegal because the array must be initialized: int i[][] = new int[5][]
2. Perfectly legal.
3. Here's my problem. Is this array one or two dimentional. Can anyone please clear this out for me.
4. Not legal
5. legal
Cheers
------------------
Preparing for the
Java 2 Certification exam