News

Method overriding and the fragile base class problem If you didn’t override the addContacts() method, this problem would go away.
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.