Reply to private, protected, static vars

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация