Advertisements
Advertisements
Question
During inheritance, the public and protected members remain in the same form in the derived class.
Options
True
False
MCQ
True or False
Solution
This statement is False.
Explanation:
Although public and protected members are passed down to the derived class via inheritance, their accessibility may vary slightly depending on where the derived class is accessed.
shaalaa.com
Is there an error in this question or solution?