Exercise 3.13.1. Matching Problem for Methods.
- method signature
- A method’s name, number, type, and order of parameters
- constructor
- A method that is invoked when an object is created
- accessor (get) method
- A method whose purpose is to provide access to an object’s instance variables
- mutator (set) method
- A method whose purpose is to change an object’s instance variables
- void
- The return type for a method that returns no value
Match the vocabulary with their definitions.
Review the chapter vocabulary in the Summary.