This document provides information on arrays in Java, including:
- Arrays are used to store multiple values of the same type in a single variable. There are single-dimensional and multi-dimensional arrays.
- Arrays are initialized using the new keyword, and elements can be accessed by their index. The length property returns the size of the array.
- Loops like for can be used to iterate through arrays. Multi-dimensional arrays contain one or more arrays. Jagged arrays can have rows of different lengths.
- The print() and println() methods differ in that println() adds a new line while print() does not.