package exception;
/**
* Created by ahmad on 30/04/17.
*/
public class ArrayIndexOutOfBoundsExeption {
public static void main(String[] args) {
String a[] = new String[5];
try {
a[5] = "String";
} catch (ArrayIndexOutOfBoundsException e){
System.out.println("Index Array melebihi batas!");
}
}
}