This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
What is the difference between protected and private? Can you read the values of a protected class variable, but not write to it? Or am i completely off track.
Hi Conrad, Protected: Can be seen (and used) by the class and any subclasses. Private: Can only be seen by the class. The accessor modifiers apply the restrictions to reading and writing. Either you see it and can do anything or you don't and can't! Regards, Manfred.
Conrad Kirby
Ranch Hand
Joined: Jun 17, 2001
Posts: 178
posted
0
Well thankee kindly! I'll just mosey on back to work!
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.