Q:

If class A inherits class B and class C as “class A: public class B, public class C {// class body ;}; ”, which class constructor will be called first?

0

If class A inherits class B and class C as “class A: public class B, public class C {// class body ;}; ”, which class constructor will be called first?


  1. Class A
  2. Class B
  3. Class C
  4. All together

All Answers

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

(b).Class B

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
Why does diamond problem arise due to multiple inh... >>
<< Is it possible to have all the abstract classes as...