Exception in Inheritance -1

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 method1()  throws SQLException {             […]

Share this article on
< Previous