What are the two direct subclasses of the Throwable class?

Single Choice
Views 43

Answer:

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.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.