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

Java 8Object Oriented ProgrammingProgramming

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.

raja
Published on 09-Feb-2018 05:53:32
Advertisements