Specifications
Sun Services
Java™ Programming Language
Module 5, slide 10 of 15
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Multidimensional Arrays
Arrays of arrays:
int[][] twoDim = new int[4][];
twoDim[0] = new int[5];
twoDim[1] = new int[5];
int[][] twoDim = new int[][4]; // illegal










