Let's say a.length returns 3. How can we print the third element of a?

System.out.print(a[2]);System.out.print(a[3]);System.out.print(a[4]);

Perfect! Arrays are zero-based, which means the third element has an index of 2.

Oh, snap! Arrays are zero-based, which means the third element has an index of 2.