What exception type does the following program throw?

```
public class Test {
public static void main(String[] args) {
int[] list = new int[5];
System.out.println(list[5]);
}
}```
a. ArithmeticException
b. ArrayIndexOutOfBoundsException
c. StringIndexOutOfBoundsException
d. ClassCastException
e. No exception


b

Computer Science & Information Technology

You might also like to view...

By default, each Web page you open is displayed in ____.

A. the main browser window B. the previous browser window C. a new browser window D. none of the above

Computer Science & Information Technology

A ____ brush allows you to apply brush strokes or to paint an object with the effect of traditional media.

A. Hard B. Soft C. Stiff D. Bristle

Computer Science & Information Technology

In a Windows XP system, ____________________ are almost as powerful as administrators, but they cannot install new devices or access other users? files unless access is provided.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A document that is organized as a step-by-step introduction to the features of a software application is called a ____ manual.

A. reference B. technical C. tutorial D. troubleshooting

Computer Science & Information Technology