|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--Student
A student who takes courses.
| Constructor Summary | |
Student()
|
|
| Method Summary | |
void |
add(Course c)
Adds a course that this student takes. |
void |
drop(Course c)
Drops a course. |
Course[] |
getCourses()
Gets all courses that the student is taking. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Student()
| Method Detail |
public void add(Course c)
c - the course that the student is taking.public void drop(Course c)
c - the course that the student is dropping.public Course[] getCourses()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||