Q:

Is it compulsory to have constructor for all the classes involved in multiple inheritance?

0

Is it compulsory to have constructor for all the classes involved in multiple inheritance?


  1. Yes, always
  2. Yes, only if no abstract class is involved
  3. No, only classes being used should have a constructor
  4. No, they must not contain constructors

All Answers

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

 (b).Yes, only if no abstract class is involved

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 a class contains 2 nested class and is being in... >>
<< If all the members of all the base classes are pri...