A

Admin • 833.24K Points
Coach

Q. 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) A and C D. B and C
  • Correct Answer - Option(C)
  • Views: 31
  • Filed under category Java
  • Hashtags:

Explanation by: Admin

Statement A: This is true. In Java, Error is indeed a direct subclass of Throwable, which is the superclass of all errors and exceptions in the Java language.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.