What are the advantages of inheritance?
Answer Posted / sidhi.r
In OOPs, the concept of inheritance provides the idea of
reusability. This means that we can add additional features
to an existing class without modifying it.
This is possible by deriving a new class from the existing
one. The new class will have combined features of both the
classes.
| Is This Answer Correct ? | 213 Yes | 35 No |
Post New Answer View All Answers
Why is static class not inherited?
What is the main feature of oop?
What does it mean when someone says I oop?
What is destructor oops?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Why do while loop is used?
What is difference between polymorphism and inheritance?
What is difference between pop and oop?
Get me an image implementation program.
Why is polymorphism important in oop?
What is methods in oop?
How do you achieve runtime polymorphism?
i got a backdoor offer in process global,Bangalore..Can i work with it?
Why is polymorphism needed?
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.