Home » JAVA Programming » Exceptions » Question
  1. Which of these class is used to create user defined exception?
    1. RunTime
    2. java.lang
    3. System
    4. Exception
    5. None of these
Correct Option: D

Exception class contains all the methods necessary for defining an exception. The class contains the Throwable class.



Your comments will be displayed only after manual approval.