Is it compulsory for all the classes in multilevel inheritance to have constructors defined explicitly if only last derived class object is created?
A. Yes, always
B. Yes, to initialize the members
C. No, it not necessary
D. No, Constructor must not be defined
Answer:C
Is it compulsory for all the classes in multilevel inheritance to have constructors defined explicitly if only last derived class object is created?
A. Yes, always B. Yes, to initialize the members C. No, it not necessary D. No, Constructor must not be defined