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