C++ Inheritance Question: Download C++ Inheritance PDF
List the advantages of inheritance?
Answer:
Allows the code to be reused as many times as needed. The base class once defined and once it is compiled, it need not be reworked.
Saves time and effort as the main code need not be written again.
Saves time and effort as the main code need not be written again.
Previous Question | Next Question |
Explain about Protected Inheritance? | Explain what is Public Inheritance? |