inheritance


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by adam on December 19, 2001 at 00:42:31:

this may get confusing...

in public inheritance protected members of a base class become private members of the derived only accesible to member and friends of the derived...and classes derived from the derived class.

what i dont understand is how what has become a private member of the derived class can be accessed from derived classes from this. i thought private members where never accessible from derived classes.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]