|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--Course
A college course in which students get grades.
| Constructor Summary | |
Course(java.lang.String title)
Constructs a course. |
|
| Method Summary | |
Grade |
getGrade()
Gets the course grade. |
java.lang.String |
getTitle()
Gets the course title. |
void |
setGrade(Grade g)
Sets the course grade. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Course(java.lang.String title)
title - the course title| Method Detail |
public java.lang.String getTitle()
public void setGrade(Grade g)
g - the grade for the coursepublic Grade getGrade()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||