What exception type does the following program throw?
```
public class Test {
public static void main(String[] args) {
Object o = null;
System.out.println(o.toString());
}
}```
a. ArithmeticException
b. ArrayIndexOutOfBoundsException
c. StringIndexOutOfBoundsException
d. ClassCastException
e. NullPointerException
e
You might also like to view...
The default output of decimal numbers of the type float is up to nine decimal places.
Answer the following statement true (T) or false (F)
An IP address is the text equivalent to a website's numeric address.
Answer the following statement true (T) or false (F)
We sometimes apply the terms _______________ or vendor-specific to a closed source product or technology, most often when we are trying to highlight something that does not use common, open standards.
Fill in the blank(s) with the appropriate word(s).
__________________________ are intentional mistakes while __________________________ are unintentional mistakes.
What will be an ideal response?