Q:

If there are 5 classes, E is derived from D, D from C, C from B and B from A. Which class constructor will be called first if the object of E or D is created?

0

If there are 5 classes, E is derived from D, D from C, C from B and B from A. Which class constructor will be called first if the object of E or D is created?


  1. A
  2. B
  3. C
  4. A and B

All Answers

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

 (a).A

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
If there are 3 classes. Class C is derived from cl... >>
<< Which among the following best defines multilevel ...