Section 8.7 Notes on Set and Get Methods
• Set methods are commonly called mutator methods (p. 331) because they typically change a value. Get methods are commonly called accessor methods (p. 331) or query methods. A predicate method (p. 332) tests whether a condition is true or false.