Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

can derived class access private members

//In all cases, private members of the base class remain private. Private members of the base class cannot be used by the derived class unless friend declarations within the base class explicitly grant access to them.
 
PREVIOUS NEXT
Tagged: #derived #class #access #private #members
ADD COMMENT
Topic
Name
8+1 =