What exception type does the following program throw?

```
public class Test {
public static void main(String[] args) {
Object o = null;
System.out.println(o);
}
}```
a. ArithmeticException
b. ArrayIndexOutOfBoundsException
c. StringIndexOutOfBoundsException
d. No exception
e. NullPointerException


d

Computer Science & Information Technology

You might also like to view...

Answer the following statement(s) true (T) or false (F)

1. Many times a gradient, when initially applied, does not create the look you want. 2. By default, a gradient transition spans the full width or height of an object, resulting in a gradual transition. 3. Anchor points are visible only when using the Selection or Pen Tools. 4. Adding symbols to or deleting them from the library has no effect on other Flash documents. 5. Large projects commonly have hundreds of symbols.

Computer Science & Information Technology

Only one thread at a time can execute a(n) ___________ statement or block

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

Computer Science & Information Technology

Base column widths can be changed by either using the click and drag technique or the double-click technique

Indicate whether the statement is true or false

Computer Science & Information Technology

When you open a document that you previously saved, the document opens in this position

A) In the header on the first page of the document B) On the first page of the document, but with a link to the page where the insertion point was located when you saved the document C) On the last page of the document but with a link to the page where the insertion point was located when you saved the document D) On the page where the insertion point was located when you saved the document

Computer Science & Information Technology