Is the private member access at the class level or at the object level. If it is at the object level, then the following code should not compile
class Pr
Class level. The idea is that the code of a class (but nothing else) knows how to handle objects of that class.
If you have access to the class source code anyway, there is little sense in "hiding" anything from you.