|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Student
| Field Summary | |
protected CourseTaken[] |
ct
|
| Method Summary | |
int |
getage()
returns age of a student |
Dob |
getDOB()
return date of birth as Dob object |
int |
getgrade(int i)
returns grade for particular course taken |
java.lang.String |
getname()
returns name of the student |
int |
getroll()
returns roll number of the student |
int |
getsem(int i)
returns semester |
int |
getunits(int i)
returns untis for a particular course |
void |
printDetails()
Print details of student onto console |
void |
printDetails(java.io.PrintStream p)
Print details of student onto print stream given as argument |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected CourseTaken[] ct
| Method Detail |
public java.lang.String getname()
public int getroll()
public int getage()
public int getgrade(int i)
public int getsem(int i)
public int getunits(int i)
public Dob getDOB()
public void printDetails()
public void printDetails(java.io.PrintStream p)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||