数组初始化有三种方式:
例如:要表示10个学生的成绩,下列声明并初始化数组正确的是()
有以下两种写法;
int score[] = new int[10]; int[] score = new int[10];