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

Which one of the following statements is FALSE?

  1. Deriving one class from another requires fundamental changes to the base class
  2. If no constructors are declared for the derived class, the objects of the derived class will use the constructors in the base class
  3. There may be situations where we may have to define a class which will never be used to create objects
  4. It is legal to make objects of one class as members of another class



Answer: 
Option a: Deriving one class from another requires fundamental changes to the base class

Explanation Here

Post a Comment

0 Comments