Multiple choice

Which of the following exceptions is not a sub-class of RuntimeException?

  1. ArithmeticException

  2. ArrayStoreException

  3. SecurityException

  4. ClassCastException

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

The exception ClassCastException is not a sub-class of RuntimeException.