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
What is inheritance in oop?
What is the important feature of inheritance?
What language is oop?
any one please tell me the purpose of operator overloading
Why do we use class in oops?
What is ambiguity in inheritance?
What are benefits of oop?
Why is polymorphism used?
What is polymorphism in oop example?
What is the purpose of enum?
How many human genes are polymorphic?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
Which language is pure oop?
What is inheritance write a program to show use of inheritance?
What is abstraction example?