Question: Which exception can the clone() method of the Object class throw? Select the one correct answer. (a) CloneNotSupportedException (b) NotCloneableException (c) IllegalCloneException (d) NoClonesAllowedException
Which exception can the clone() method of the Object class throw?
Select the one correct answer.
(a) CloneNotSupportedException
(b) NotCloneableException
(c) IllegalCloneException
(d) NoClonesAllowedException
Step by Step Solution
3.40 Rating (163 Votes )
There are 3 Steps involved in it
a The clone method of the Obj... View full answer
Get step-by-step solutions from verified subject matter experts
