Home > Back-end >  It's too hard, as a beginner
It's too hard, as a beginner

Time:10-06

What's the problem with this is

CodePudding user response:

Line 3 out of the problem, an array, the fix this problem

CodePudding user response:

Index of crossing the line, such as int [] arr=new int [10]. Int num=arr [10].//such use occurs index of crossing the line, because the index starts at 0, 10 just length, maximum index only length 1, namely arr [9] so just right, check your code

CodePudding user response:

refer to the second floor is the reply of the night:
index of crossing the line, such as int [] arr=new int [10]. Int num=arr [10].//such use occurs index of crossing the line, because the index starts at 0, 10 just length, maximum index only length 1, namely arr [9] it is correct, check your code

Thank you. 'omega `?)

CodePudding user response:

Index is beyond the border, which do you want to get the index values of beyond the maximum index

CodePudding user response:

This is the index of cross-border
  • Related