Everybody to help me see bai, don't know why this is, the workspace and no error:
CodePudding user response:
CallName line 14 error, assuming you the length of the array is 10, the for loop inside of you I can to 10, the maximum student [10] is certainly not, should be written as
For (int I=0; i}
CodePudding user response:
for (int i=0; I & lt;= students. Length; I++) into the for (int I=0; I & lt; students. Length; I++)//attention array indices and the relationship between the length of the array