0 votes
by (1.6k points)

1 Answer

0 votes
by (876 points)
selected by
 
Best answer

All exception and errors types are sub classes of class Throwable, which is base class of hierarchy. One branch is headed by Exception. This class is used for exceptional conditions that user programs should catch. Null Pointer Exception is an example of such an exception.

Welcome to CodersEditor Q&A, where you can ask questions and receive answers from other members of the community.
...