Q:

If all the members of all the base classes are private then,

0

If all the members of all the base classes are private then,


  1. There won’t be any use of multiple inheritance
  2. It will make those members public
  3. Derived class can still access them in multiple inheritance
  4. Compile time error

All Answers

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

(a).There won’t be any use of multiple inheritance

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
Is it compulsory to have constructor for all the c... >>
<< When multiple inheritance is used, which class obj...