[Solved] Exception in overriding methods [duplicate]
Overridden methods cannot throw newer or broader checked exception just because, when the object of this class is referred polymorphic-ally, the caller can handle only exceptions shown in the contract by the base class method implementation. Overridden method can throw…