Confirming the meaning of the private/protected keywords
Just had a quick look through the board, and I think it's cleared it up, but I'm not 100% certain, so I wanted to ask. When working with classes, does the 'private' keyword mean that any attribute in that section of the class, is only accessible to that class, and not any derived classes? Which would lead onto protected meaning any attributes accessible by the class in which they are declared, and any derived classes.
However, would a protected attribute be accessible by a base class? For example. Say you have a base class called Circle, and a derived class called Cylinder. Would a protected attribute in Cylinder, be accessible in Circle? I'm guessing no, but I want to clarify. :)