Home » JAVA Programming » Exceptions » Question
  1. Which of these methods return description of an exception?
    1. obtainException()
    2. obtainDescription()
    3. getMessage()
    4. getException()
    5. None of these
Correct Option: C

getMessage() returns a description of the exception.



Your comments will be displayed only after manual approval.