Multiple choice

Which of the following exceptions is thrown by the clone() method in Java?

  1. ClassNotFoundException

  2. ClasssNotSupportedException

  3. IllegalAccessException

  4. ArithmaticException

  5. None of the above

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

clone() method throws CloneNotSupportedException.