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
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
Why is static class not inherited?
How Do you Code Composition and Aggregation in C++ ?
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
is there any choice in opting subjects like 4 out of 7
What is polymorphism what is it for and how is it used?
write string class as your own class in java without using any built-in function
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is an example of genetic polymorphism?
What is new keyword in oops?
What is the real life example of polymorphism?
What is polymorphism what are the different types of polymorphism?
When not to use object oriented programming?
What is the difference between procedural programming and oops?
How do you define a class in oop?