|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Student
| Method Summary | |
int |
getage()
Return age of student Uses dob object for calculating age |
Dob |
getDOB()
Returns date of birth as Date object |
int |
getgrade(int i)
Returns grade for a particular course |
java.lang.String |
getname()
Returns name of student |
int |
getpgorug()
returns pg if a student is pg student else ug |
int |
getroll()
Returns roll number of a student |
int |
getsem(int i)
Returns semester |
java.lang.String |
getthesis()
Returns thesis |
java.lang.String |
getthesisguide()
returns thesis guide |
int |
getunits(int i)
Returns number of units for paticular course taken |
void |
printCPI()
This function will print the CPI based on average of persemester grades It prints CPI onto console |
void |
printCPI(java.io.PrintStream p)
This function will print the CPI based on average of persemester grades It prints CPI in a file specified |
void |
printDetails()
Prints student details onto console The functionality splitted into different functions |
void |
printDetails(java.io.PrintStream p)
Prints student details in a file The functionality splitted into different functions |
void |
printReport()
Print report of a student Functionality is distributed to different functions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 java.lang.String getthesis()
public java.lang.String getthesisguide()
public int getpgorug()
public void printDetails(java.io.PrintStream p)
public void printDetails()
public void printCPI(java.io.PrintStream p)
public void printCPI()
public void printReport()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||