// Let JVM handle the error.
class NotHandled {
  public static void main(String args[]) {
    int nums[] = new int[4];
    
    System.out.println("Before exception is generated.");
    
    // generate an index out-ob-bounds exception
    nums[7] = 10;
  }
}
