1.

Which among the following handles the undefined class in program?(a) ClassNotFound(b) NoClassException(c) ClassFoundException(d) ClassNotFoundException

Answer» The correct option is (d) ClassNotFoundException

The best I can explain: It is the exception handler that handles the exceptions when the class used is not found in the program. This is done to handle all the undefined class exceptions. This can be due to a command line error.


Discussion

No Comment Found

Related InterviewSolutions