Java Basics
How to initialize an array in Java?
In this short tutorial, I’ll show you several ways to initialize an array in Java. Array is a container which can hold a fix number of items and these items should be of the same type. The examples were created with Java 9.
Last updated on October 21, 2018 by Michael Lossagk , 9 min •