Thread
:
Super Class and Sub-Class data access
View Single Post
Feb 15th, 2007, 9:59 AM
#
7
Harakim
Hobbyist Programmer
Join Date: May 2006
Location: West Jordan, Utah, United States
Posts: 176
Rep Power:
3
What if you had a subclass, Doberman? Would you not then want to make those variables protected? This is assuming, of course, that Doberman class needed access to those variables.
Harakim
View Public Profile
Find More Posts by Harakim