protected data VS private data...

Light Poster
24Apr2008,23:18   #1
samuelwhalley's Avatar
Hi....

any idea...
I've been told to never use protected data, and instead to always use private data with protected access functions. Is that a good rule???why??
can you give a brief explanation to this...???


THANKS in advance expert.....
Go4Expert Founder
25Apr2008,11:38   #2
shabbir's Avatar
It all depends on your context and there is no such golden rule.