Examveda
Examveda

Which of the below statement is/are true about Error?
A. An Error is a subclass of Throwable.
B. An Error is a subclass of Exception.
C. Error indicates serious problems that a reasonable application should not try to catch.
D. An Error is a subclass of IOException.

A. A and D

B. A and B

C. A and C

D. B and C

E. B and D

Answer: Option B

Solution(By Examveda Team)

An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.


This Question Belongs to Java Program >> Exceptions

Join The Discussion

Comments ( 13 )

  1. Yashwant Kumar
    Yashwant Kumar :
    1 year ago

    Wrong Answer.

  2. Sachin Sude
    Sachin Sude :
    1 year ago

    all Answers are wrong for this question

  3. Alok Pranav
    Alok Pranav :
    1 year ago

    It will be A and C

  4. Akshay Kumar
    Akshay Kumar :
    2 years ago

    how it can be A and B, according to explanation it should be A and C
    please check ans you provide it is wrong

  5. Riya Joshi
    Riya Joshi :
    3 years ago

    Please Change your answer to option C as Statement A and C are true in case of an Error. And it's not a subclass of Exception class.

  6. Anupam Anand
    Anupam Anand :
    5 years ago

    if u see the throwable class hierarchy then you see that error is not a subclass of Exception

  7. Anupam Anand
    Anupam Anand :
    5 years ago

    No doubt option(C) is the correct Answer

  8. Priyabrata Biswal
    Priyabrata Biswal :
    6 years ago

    Error is not a sub class of exception and option-c is also correct.
    so option A and C are correct.

  9. Ajit Ranpise
    Ajit Ranpise :
    6 years ago

    Option C

  10. Solomon Alamrew
    Solomon Alamrew :
    7 years ago

    so the answer must be C not B make it corecct

  11. Mohit Verma
    Mohit Verma :
    7 years ago

    Answer of this question should be C

  12. Akshay Kothari
    Akshay Kothari :
    7 years ago

    Option C) Is correct because error is a subclass of throwable class and more it ndicates serious problems that a reasonable application should not try to catch.

  13. Ramakant Kumar
    Ramakant Kumar :
    7 years ago

    answer should be c
    b is incorrect

Related Questions on Exceptions