how to handle array out of bound exception in 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]);
}