Private vs. Protected Classes

Jul 24, 2012 at 8:45pm
Just a quick question, but what is the difference between a private and protected class? Aren't they basically the same thing? I mean, if I don't want a variable to change, then I would just hide it correct? I just don't see the point of protected classes.
Jul 24, 2012 at 8:46pm
protected allows derived classes to access the variable, whereas private does not.
Topic archived. No new replies allowed.