Q:

If a derived class object is created, which constructor is called first?

0

If a derived class object is created, which constructor is called first?


  1. Base class constructor
  2. Derived class constructor
  3. Depends on how we call the object
  4. Not possible

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).Base class constructor

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING INHERITANCE AND ITS TYPES MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
The private members of the base class are visible ... >>
<< While inheriting a class, if no access mode is spe...