Home > Back-end >  An array
An array

Time:01-13

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

CodePudding user response:

reference 1st floor is zhao dare to dare to reply:
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}

Oh oh, see see

CodePudding user response:

refer to the second floor qybao 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

Oh oh see understand

CodePudding user response:

references 4 floor ╄ heart love reply:
Quote: refer to the second floor qybao 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

Oh oh see see

Didn't notice this

CodePudding user response:

Upstairs truth!!!!!!
  • Related