| Modifier and Type | Field and Description |
|---|---|
private int |
id |
private String |
name |
private House |
residence |
| Modifier | Constructor and Description |
|---|---|
protected |
Occupant() |
|
Occupant(String name,
House residence) |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
String |
getName() |
House |
getResidence() |
void |
setName(String name) |
void |
setResidence(House residence) |
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.