| Modifier and Type | Field and Description |
|---|---|
Room |
Course.hall
A room
|
Room |
Teacher.office
An office (not a lecture hall)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Room.equals(Room r)
Determines whether two objects represent the same room.
|
| Constructor and Description |
|---|
Course(Department dept,
int num,
java.lang.String name,
Room hall,
Teacher professor)
Initializes a course.
|
Teacher(java.lang.String firstName,
java.lang.String lastName,
Room office)
Create a new Teacher, with a name and office.
|