Is it compulsory to have constructor for all the classes involved in multiple inheritance?
A. Yes, always
B. Yes, only if no abstract class is involved
C. No, only classes being used should have a constructor
D. No, they must not contain constructors
Answer:B
Is it compulsory to have constructor for all the classes involved in multiple inheritance?
A. Yes, always B. Yes, only if no abstract class is involved C. No, only classes being used should have a constructor D. No, they must not contain constructors