Moving to the next question prevents changes to this answer.
Question 30
Which of the following is false with respect to inheritance?
When a base class is publicly inherited, public members of the base class becomes public members of derived class.
When a base class is publicly inherited, protected members of base class becomes protected members of derived class.
When a base class is privately inherited, public members of the base class becomes private members of the derived class.
When a base class is privately inherited, a private member of base class becomes private member of derived class.
Answers
Answered by
0
Answer:
A member declared as ………….. is accessible by the member functions within its class and any class immediately derived from it. 11. When the base class is publicly inherited, public members of the base class become …………. of the derived class
Similar questions
Chemistry,
4 months ago
Biology,
4 months ago
Computer Science,
4 months ago
Physics,
8 months ago
Math,
8 months ago