Multiple choice

The class java.lang.Exception is

  1. protected

  2. extends Throwable

  3. implements Throwable

  4. serializable

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Exception extends Throwable in Java's exception hierarchy. Throwable is the base class, with Exception and Error as its two main subclasses. Checked and unchecked exceptions extend from Exception.