When base class is derived in protected mode, then_____________ .
1. public members of base class become private members of derived class.
2. public members of base class become protected members of derived class.
3. public members of base class become public members of derived class.
4. protected members of base class become protected members of derived class.
5. protected members of base class become private members of derived class.
6. protected members of base class become public members of derived class.
a. Only 1, 5
b. Only 1, 6
c. Only 2, 6
d. Only 2, 4
ANSWER: Only 2, 4
Post a Comment