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

Through inheritance, it is possible to inherit from a class

  1. only data members
  2. only members functions
  3. any members as we desire
  4. only functions declared as friend



Answer: 
Option d: any members as we desire

Explanation Here

Post a Comment

0 Comments