Exception in Inheritance

Case 1 : Parent class throwing any exception(checked/unchecked) a) Exception thrown in the parent class’s method is checked type. If the exception is thrown by the parent’s class method then child class’s overridden method may not be required to throw the exception (not mandatory but it can throw) class Parent{         void […]

Share this article on
< Previous