Table 6.1 List of Accessor Methods
Variable | Method | Purpose |
firstName | getFirstName | To read the value of the firstName instance variable |
setFirstName | To alter the value of the firstName instance variable | |
lastName | getLastName | To read the value of the lastName instance variable |
setLastName | To alter the value of the lastName instance variable | |
address | getAddress | To read the value of the address instance variable |
setAddress | To alter the value of the address instance variable | |
active | isActive | To read the value of the active Boolean instance variable |
setActive | To alter the value of the active Boolean instance variable |
3.15.189.199