OOPs Concepts Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 6241 Page Views: 

What is Method Overriding?



Posted By: Avi Date: 29 August 2009 09:10:46 PM
 Answer:

Method overriding allows a subclass to override a specific implementation of a method that is already provided by one of its super classes.
A subclass can give its own definition of methods but need to have the same signature as the method in its super class. This means that when overriding a method the subclass's method has to have the same name and parameter list as the super class's overridden method.


Posted By: eTechPlanet


Date: 29 August 2009 09:10:46 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image TADFtU
Related Questions
OOPs Concepts : What is Aggregation?

What is Aggregation?

Aggregation is a special form of association. Aggregation is the composition of an object out of a s....
Category: OOPs Concepts Date: 8/29/2009 9:03:49 PM
OOPs Concepts : What is Association?

What is Association?

Association defines a relationship between different objects of different classes which allows one o....
Category: OOPs Concepts Date: 8/29/2009 8:55:57 PM
OOPs Concepts : What is the Difference between Class and Object?

What is the Difference between Class and Object?

A Class is actually a blueprint or a template to create an Object. Whereas an Object is a an actual ....
Category: OOPs Concepts Date: 8/29/2009 8:41:21 PM
OOPs Concepts : What is Polymorphism?

What is Polymorphism?

Polymorphism is an ability to appear in many forms. It refers to the ability of the system to call c....
Category: OOPs Concepts Date: 8/29/2009 7:03:57 PM
OOPs Concepts : What is Inheritance?

What is Inheritance?

In OOPs terminology, inheritance is a way to form new classes using classes that have already been d....
Category: OOPs Concepts Date: 8/29/2009 6:52:23 PM