Controlling Access to Members

Figure 1.11: private members of a class are not accessible outside the class.
\includegraphics[scale=0.7]{figures/img35.ps}
\includegraphics[scale=0.7]{figures/img36.ps}
Figure 1.12: SalesPerson class definition
\includegraphics[scale=0.43]{figures/img39.ps}


2004-12-28