Q:

If a base class is inherited in protected access mode then which among the following is true?

0

If a base class is inherited in protected access mode then which among the following is true?


  1. Public and Protected members of base class becomes protected members of derived class
  2. Only protected members become protected members of derived class
  3. Private, Protected and Public all members of base, become private of derived class
  4. Only private members of base, become private of derived class

All Answers

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

 (a).Public and Protected members of base class becomes protected members of derived class

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
Members which are not intended to be inherited are... >>
<< Which access type data gets derived as private mem...