1.

Hierarchy of Java Exception Classes

Answer»

Exceptions in Java are a part of the java.lang.Exception CLASS. It is an issue that arises during the EXECUTION of a program.

All Exception classes in Java are subordinates of the java.lang.Exception class. The java.lang.Exception class is a child class of the Throwable class.

Another subclass of the Throwable class is the java.lang.Error class. Errors are anomalous conditions that occur in a Java program DUE to many failures. They cannot be handled by the Java program. Usually, programs can’t recuperate from errors.



Discussion

No Comment Found