C++ MQCs with Explanation (CHAPTER 8: INHERITANCE : EXTENDING CLASSES

What is the advantage of using inheritance in C++?

  1. Facilitates creation of class libraries
  2. Enables reuse of existing code
  3. Enhances reliability of the code
  4. All the above



Answer: 
Option d: All the above

Explanation Here

Post a Comment

0 Comments