function overridind means and simple program

Answer Posted / rekha

many times child class wants to modify the functionality
exposed by base class.It means child classesare interested
in overriding some functionality of base class in order to
achieve different behavior

function overriding means having functions with same name
with same signature but in parent child relationship different
implementation

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism programming?

694


What are classes oop?

685


What is a class oop?

677


what is the sylabus for priliminaries?

1794


What is inheritance write a program to show use of inheritance?

713






What is abstraction with example?

712


What is and I oop mean?

721


What is difference between abstraction and encapsulation?

689


What is the difference between a constructor and a destructor?

705


What is polymorphism used for?

654


What is a function in oop?

714


What is polymorphism and its types?

690


Are polymorphisms mutations?

796


What is the oops and benefits of oops programming?

636


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

1748