## Chapter Summary

1. Encapsulation helps reduce the number of visible names
2. Scope refers to the portions of a program where a name is visible
3. A variable that hides another variable of the same name in a different scope is said to shadow the hidden name
4. `protected` members are accessible to derived classes
5. A friend is a function or another class that is granted access to all features of a class
6. A nested class is defined inside another class to limit the nested class' names to the outer class' scope

prev |top