Chapter 10: Problem 11
When a class member is declared as protected, what code may access it?
Short Answer
Expert verified
Answer: A class member declared as protected can be accessed by the containing class itself, any class that inherits from the containing class (deriving classes or subclasses), and in C++: classes within the same package.