Private

Private.member
marks a member that may be used only within the current class level.
This loads the package.
In[1]:=
Click for copyable input
The next class defines two private methods and a private field used by one of the methods.
In[2]:=
Click for copyable input
The method acc can be used without problems.
In[3]:=
Click for copyable input
Out[3]=
The method f may not be used outside the class.
Even in a child class it may not be used.
On the other hand, it is allowed to override the method with one that has the same or a greater accessibility. Please decide yourself, if this is a good object oriented style or not.
In[6]:=
Click for copyable input
In[7]:=
Click for copyable input
In[8]:=
Click for copyable input