June 2004
Intermediate to advanced
848 pages
21h 28m
English
Arrays of Arrays
Have Array Brackets, Will Travel
The Math Package
Some Light Relief—Think Big (and Small)
In this chapter, we introduce arrays and describe how to use them. Arrays in Java have pretty much the same features as arrays in many languages—the ability to store multiple variables all of one type, and access them by an index value.
There are some neat features that flow from Java's rule that arrays are objects. That's a good place to start reviewing arrays.
When Java says arrays are objects, it means array types are reference types, and your array variable is really a reference to an array. What looks like the ...
Read now
Unlock full access