Question : using new to create arrays
Answered by : outstanding-okapi-ka4n9df41foa
//declare an array variable
int[] highScores;
// create the array
highScores = new int[5];
// declare and create array in 1 step!
String[] names = new String[5];
Source : https://runestone.academy/ns/books/published//csawesome/Unit6-Arrays/topic-6-1-array-basics.html | Last Update : Sun, 16 Jan 22