Chapter Summary
- Encapsulation helps reduce the number of visible names
- Scope refers to the portions of a program where a name
is visible
- A variable that hides another variable of the same name in a different
scope is said to shadow the hidden name
- protected members are accessible to derived classes
- A friend is a function or another class that is granted access
to all features of a class
- A nested class is defined inside another class to limit the nested
class' names to the outer class' scope
prev
|top