What restrictions are placed on method overriding?
Java Programming Language > Class, Object and Methods in java > About Java Tutorial
945
Answer:
Overridden methods must have the same name, argument list, and return type. The overriding method may not limit the access of the method it overrides.
This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.