What are the advantages of inheritance? - C++

What are the advantages of inheritance?

Advantages of Inheritance :
- It 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.

What are the advantages of inheritance?

- Code reusability
- Saves time in program development.
What is a conversion constructor? - C++
What is a conversion constructor? - It is a constructor that accepts one argument of a different type..
Advantages of inline functions - C++
Explain the advantages of inline functions - It relieves the burden involved in calling a function. It is used for functions that need fast execution.....
Different access specifiers for the class member in C++
Different access specifiers for the class member in C++ - private: It is default one and can be access from class member of the same class...
Post your comment