Which statement is true?
A.catch(X x) can catch subclasses of X where X is a subclass of Exception.
B.The Error class is a RuntimeException.
C.Any statement that can throw an Error must be enclosed in a try block.
D.Any statement that can throw an Exception must be enclosed in a try block.
Answer:A
Which statement is true?
A.catch(X x) can catch subclasses of X where X is a subclass of Exception. B.The Error class is a RuntimeException. C.Any statement that can throw an Error must be enclosed in a try block. D.Any statement that can throw an Exception must be enclosed in a try block.