function overridind means and simple program
Answers were Sorted based on User's Feedback
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 |
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 |
What is use of overloading?
20% of a 6 litre solution and 60% of 4 litre solution are mixed what the % of mixture of solution it is resulted into?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT)
What are oops functions?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
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)
What is the expansion of OOPS?
Why do we use oop?
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??????
what is the difference between ERROR and EXCEPTION?
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 :( :-?