Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

index 1 out of bound for length 1 java

1 means index 1 is invalid and it's out of bound i.e. more than the length of the array.
  Since array has a zero-based index in java , this means you are trying to access the second element of
  array which only contains one element.
 
PREVIOUS NEXT
Tagged: #index #bound #length #java
ADD COMMENT
Topic
Name
5+3 =