Which of these classes are the direct subclasses of the Throwable class?
A. RuntimeException and Error class
B. Exception and VirtualMachineError class
C. Error and Exception class
D. IOException and VirtualMachineError class
Answer:C
Which of these classes are the direct subclasses of the Throwable class?
A. RuntimeException and Error class B. Exception and VirtualMachineError class C. Error and Exception class D. IOException and VirtualMachineError class
Explanation: According to the class hierarchy of Throwable class, the Error and Exception classes are the direct subclasses of the Throwable class, as shown below.