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

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.

Updated on: 2020-02-25T12:25:55+05:30

2K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements