posted 17 years ago
A. catch(X x) can catch subclasses of X.
True
B. The Error class is a RuntimeException.
No , this is like OutOfMemoryException
C. Any statement that can throw an Error must be enclosed in a try block.
I think , No
D. Any statement that can throw an Exception must be enclosed in a try block.
Only checked Exceptions , like IOException
E. Any statement that can throw a RuntimeException must be enclosed in a try
block.
No , Like NullPointerException
Make me correct if i am wrong on any point