What is the base class for errors and exceptions in Java?



All exception classes are subtypes of the java.lang.Exception class. The Exception class is a subclass of the Throwable class. Other than the Exception class there is another subclass called Error which is derived from the Throwable class.

Monica Mona
Monica Mona

Student of life, and a lifelong learner


Advertisements