Basic and Advance Java Question:
Download Questions PDF

What restrictions are placed on method overriding in Java Programming?

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. The overriding method may not throw any exceptions that may not be thrown by the overridden method.

Download Java Interview Questions And Answers PDF

Previous QuestionNext Question
What restrictions are placed on method overloading in Java Programming?What is casting in Java Programming?