View Single Post
Old 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 Harakim is on a distinguished road
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 is offline   Reply With Quote