News
This method executes super.clone() to invoke its superclass’s (Object‘s, in this example) clone() method. The overriding clone() method identifies CloneNotSupportedException in its throws clause.
Method overriding and the fragile base class problem. ... Your subclass method now overrides the superclass method and probably doesn’t fulfill the superclass method’s contract.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results