Question: ( Protected vs . Private Base Classes ) Some programmers prefer not to use protected access because they believe it breaks the encapsulation of the
Protected vs Private Base Classes Some programmers prefer not to use protected access
because they believe it breaks the encapsulation of the base class. Discuss the relative merits of using
protected access vs using private access in base classes.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
