function overridind means and simple program

Answers were Sorted based on User's Feedback



function overridind means and simple program..

Answer / 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

function overridind means and simple program..

Answer / preetha

the function overloading is the technique in which you can make the function with more than one name but only if you will change the paramaters or the number of the paramaters.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More OOPS Interview Questions

why reinterpret cast is considered dangerous?

0 Answers   TCS,


What are the advantages of inheritance?

26 Answers   IBS, TCS,


How compiler selects(internally) required overridden function in inheritance?

2 Answers   CSC, Infinite Computer Solutions,


what are the different types of qualifier in java?

0 Answers   TCS,


What do you mean by inheritance?

0 Answers   IBS,






How do you achieve polymorphism?

0 Answers  


What is the differances between a abstract calss and interface

5 Answers   Aviva, Symphony,


What do you mean by overloading?

0 Answers  


What is ambiguity in c++

4 Answers   Accenture, Mphasis,


Can we have a private constructor ?

12 Answers   HSBC, Ness Technologies, TCS, Wipro,


What is the difference between the c++ & java?

2 Answers  


What is Virtual Keyword?

9 Answers   IBM, NA,


Categories