THE IDEA
Understand the concept
A Java array holds a fixed number of values of one type. Indexing begins at zero, so the last valid index is length minus one; using an invalid index causes a runtime exception.
WORKED EXAMPLE

LESSON 05 ยท JAVA
An array stores a fixed-length sequence addressed from index zero.
THE IDEA
A Java array holds a fixed number of values of one type. Indexing begins at zero, so the last valid index is length minus one; using an invalid index causes a runtime exception.
WORKED EXAMPLE