Actualités

To create this type of array in Java, simply create a new variable of your chosen data type with square brackets to indicate that it is indeed an array.
This post explains how to use variables in Java. Learn the primitive types (and what that means) and just why variables are so important for any coding!