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

What is use of overloading?

0 Answers  


20% of a 6 litre solution and 60% of 4 litre solution are mixed what the % of mixture of solution it is resulted into?

5 Answers   IonIdea,


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

0 Answers  


WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT)

1 Answers   TCS,


What are oops functions?

0 Answers  


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

0 Answers   NIIT, SRA,


1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)

1 Answers   Nagarro,


What is the expansion of OOPS?

24 Answers   TCS,


Why do we use oop?

0 Answers  


i hav very low percentage in 12th n BSCwhich is around 50.......coz it was just imposed on me 2 b a science graduate,nw m doin MCA n hav aggregate 74% ....what shud i answer if company's HR ask me about dis much low previous percentage??????

3 Answers   Infosys,


what is the difference between ERROR and EXCEPTION?

14 Answers   NIIT, nvidia,


where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?

2 Answers   Infosys, Microsoft,


Categories