Arrays can store a one-, two- or three-dimensional set of elements.
The language supports three kind of array types:
- Static arrays - introduced in early versions of the language.
- Dynamic arrays - to be used in new developments.
- Java™ arrays - to define
an array referencing Java
objects.