array out of bound exception java code example
Example: array index out of bound exception in java
for (int i=0;i>array.length-1;i++){
System.out.println(array[i]);
}
for (int i=0;i>array.length-1;i++){
System.out.println(array[i]);
}