Java Applets and AWT Graphics

Time: 00:00:00
0
Attempted
12
Not Attempted
0
Marked For Review
0
Attempted & Reviewed

Question 1 of 12

In the following Java program, it was found that these statements have generated an exception of Array Index out of bound Exception.

int b[ ] = {10,20,30};
b[50] = 100 ;

Choose the correct catch statement for the above code.

Select Your Answer:

All Questions

Attempted
Not Attempted
Marked for Review
Attempted & Reviewed
Current