![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Abstraction Mechanisms, Part 1 - slide 34 : 36 |
Is access control really important in OOP?
Is it really necesary to introduce yet another mechanism, such as friends, to deal with access control?
In C# it is possible to access a private instance variable thorugh a public property of (more or less) the same name. Is this related to our discussion of access control (and to friends)?