Java - Exception Handling
Identify the problem in this Java code:
try {
int[] nums = new int[3];
nums[3] = 10;
} catch (NullPointerException e) {
System.out.println("Null pointer");
}