QUESTION NO: 101 Which statement is true? A. The Error class is a untimeException. B. No exceptions are subclasses of Error. C. Any statement that may throw an Error must be enclosed in a try block. D. Any statement that may throw an Exception must be enclosed in a try block. E. Any statement that may thro a runtimeException must be enclosed in a try block.
the ans is b since the Error class and Exception class are both subclasses of Throwable class.Errors should not be handled and Exceptions need not be handled it can be just declared but ultimately the bottom most method in the stack has to handle it.Runtime exceptions need not be declared.