|
Posted by Koncept on 12/23/06 20:43
Could somebody please inform me what the difference between setting a
variable as private is compared to protected within a class? I can't
see the difference and would appreciate a brief example. I suspect
this has more to do with subclassing but it eludes me... Also, when is
it appropriate to set a variable to *static* ? Examples are welcome.
Thanks in advance.
--
Koncept <<
"The snake that cannot shed its skin perishes. So do the spirits who are
prevented from changing their opinions; they cease to be a spirit." -Nietzsche
Navigation:
[Reply to this message]
|