Answers

Question and Answer:

  Home  C++ Inheritance

⟩ Explain the advantages of inheritance?

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.

 230 views

More Questions for you: