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

If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

943


Whats is abstraction in oops?

591


Why do we use polymorphism?

575


Why do we use oop?

604


What is the main purpose of inheritance law?

667






What is the real life example of polymorphism?

605


What do you mean by Encapsulation?

640


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1403


What is the use of oops?

619


What is polymorphism explain its types?

678


What is an example of genetic polymorphism?

647


write a programe to calculate the simple intrest and compund intrest using by function overlading

1666


How to improve object oriented design skills?

569


Give two or more real cenario of virtual function and vertual object

1851


How to use CMutex, CSemaphore in VC++ MFC

4331