Point/Circle Hierarchy using protected data

\includegraphics[scale=0.43]{figures/img9.33.ps}
\includegraphics[scale=0.43]{figures/img9.34.ps}
Figure 4.15: Point2 class represents an xy-coordinate pair as protected data.
\includegraphics[scale=0.43]{figures/img9.35.ps}
\includegraphics[scale=0.43]{figures/img9.36.ps}
Figure 4.16: Circle3 class header file.
\includegraphics[scale=0.43]{figures/img9.37.ps}
\includegraphics[scale=0.43]{figures/img9.38.ps}
Figure 4.17: Circle3 class that inherits from class Point2.
\includegraphics[scale=0.43]{figures/img9.39.ps}
\includegraphics[scale=0.43]{figures/img9.40.ps}
Figure 4.18: Protected base-class data can be accessed from derived class. (part 1 of 2)
\includegraphics[scale=0.43]{figures/img9.41.ps}
\includegraphics[scale=0.43]{figures/img9.42.ps}
Figure 4.19: Protected base-class data can be accessed from derived class. (part 2 of 2)
\includegraphics[scale=0.43]{figures/img9.43.ps}
\includegraphics[scale=0.43]{figures/img9.44.ps}
Using protected data members
2004-07-29