What are the advantages of inheritance?
Answer Posted / qureshi s.
In inheritance , we acquire or inherite the properties of
existing class. i.e here reusability is occur which means
that we can add the additional feauters into an existing
class without modifying it.
inheritance saves the programmer time and effort. written
can be reused in various situations as needed.
It Increases Program Structure which results in greater
reliability.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is use of overloading?
Can destructor be overloaded?
What is cohesion in oop?
What is polymorphism what are the different types of polymorphism?
what are the ways in which a constructors can be called?
Why is oop better than procedural?
What is an example of genetic polymorphism?
what are the different types of qualifier in java?
What is interface? When and where is it used?
Why do pointers exist?
What is overloading in oops?
What is inheritance and how many types of inheritance?
to find out the minimum of two integer number of two different classes using friend function
Give two or more real cenario of virtual function and vertual object
What is protected in oop?