Basic HTML version of Foils prepared
13 July 98
Foil 25 Two-dimensional Array
From
Java Academy II:Intermediate Java NPAC/ECS Java Academy --
February to April 98
.
by
Tom Scavo
Sometimes a 2-d array is useful: Color color[][] = { { Color.black, Color.blue, ... }, { Color.gray, Color.green, ... }, { Color.orange, Color.pink, ... }, ... };
The following, for example, is true: color[2,1].equals( Color.gray )
©
Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu
If you have any comments about this server, send e-mail to
webmaster@npac.syr.edu
.
Page produced by
wwwfoil
on Sat Nov 28 1998