Important Java Mcq 1

A java exception is an instance of

a. RuntimeException

b. Exception

c. Error

d. Throwable

e. NumberFormatException

Answer:

d. Throwable

Explanation:

Every exception is represented by an instance of the class Throwable. To understand it better please go over exception handling as a concept.

Related MCQs
Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?