Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

array index out of bound exception in java

int arr[]={12,34,56};
System.out.println(arr[3]);
it will give index out of bounds as last index is 2 .
 
PREVIOUS NEXT
Tagged: #array #index #bound #exception #java
ADD COMMENT
Topic
Name
9+5 =