我收到一个错误,无法将 int 转换为 int[],有人可以帮忙吗?
//Create array
int [][] studentResults = new int [numStudents][numExams];
//Fill 1st dimension with Student numbers 1 through numStudents
for (int count = 0; count < numStudents; count++)
studentResults[count][] = count + 1;