• Overridden method and argument list shall exactly be the same • Return type shall be the subtype that is being declared in original method that is overridden in superclass, or it shall be the same. • Restriction is not more in case of access level as compared to access level of the overridden method. E.g, when superclass is considerd to be public, in that case overriding method present in the subclass would not be public or private. But access level might not be much restrictive ...
License4J 4.0
Yesterday, 12:23 AM in Java Software