An array holds a fixed-size, ordered block of same-typed elements on the heap. Understanding how stack references point to heap arrays—and how java.util.Arrays and varargs build on them—prepares you for custom objects and Collections.
More lessons in Complete Core Java