📅  最后修改于: 2022-03-11 14:52:03.807000             🧑  作者: Mango
//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];