in Java
7,054 views
3 votes
3 votes

Which of these is a super class of all errors and exceptions in the Java language?

  1. Runtime Exceptions
  2. Throwable
  3. Catchable
  4. None of the above
in Java
by
7.1k views

3 Answers

10 votes
10 votes
Best answer

Option B

The Throwable class is the superclass of all errors and exceptions in the Java language.

https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html

edited by
1 vote
1 vote
Throwable is super class and under that 2 subclass Error and Exception
0 votes
0 votes
b) Throwable
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true