Section 9.11 Word Matching Exercise
Object Name
Default Constructor
Dot Operator
Class Abstraction
Class Encapsulation
Data Field Encapsulation
Getter
Setter
separates class implementation from how the class is used. | |
means that the user of the class does not need to know how the class is implemented. The details of implementation are encapsulated and hidden from the user. | |
is an identifier that denotes an object. | |
is a no-arg constructor with an empty body if the class does not define any constructor. | |
is the . symbol for accessing data fields and invoking functions. | |
is to declare the data fields using the private modifier. | |
is a function for returning a property value. | |
is a function for setting a property value. |