What is method Overriding ? What is it in OOPS

Showing Answers 1 - 2 of 2 Answers

yogeshpanda

  • Sep 22nd, 2005
 

Method overriding is using same method name along with same number & type of arguements in base as well as derived class.This is called run time polymorphism asthe instance i.e object type differntite between the methods.If not done properly then only base class method will be invoked.so be carefull to bind object with method.

M.Rajarajeswari

  • Nov 26th, 2005
 

Method Overriding means methods having the same method name,same number of arguements or same type of arguements.Here we use super() method to pass the arguements to the methods in the baseclass.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions