Home / Questions / What are the two direct subclasses of the Throwable class?
Explanatory Question

What are the two direct subclasses of the Throwable class?

👁 45 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

The two direct subclasses of the Throwable class are:

  1. Error – represents serious problems that are not usually handled by applications.

  2. Exception – represents conditions that applications might want to catch and handle.