Class Student

java.lang.Object
  |
  +--Student
Direct Known Subclasses:
PostGrad, UnderGrad

public class Student
extends java.lang.Object


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

ct

protected CourseTaken[] ct
Method Detail

getname

public java.lang.String getname()
returns name of the student


getroll

public int getroll()
returns roll number of the student


getage

public int getage()
returns age of a student


getgrade

public int getgrade(int i)
returns grade for particular course taken


getsem

public int getsem(int i)
returns semester


getunits

public int getunits(int i)
returns untis for a particular course


getDOB

public Dob getDOB()
return date of birth as Dob object


printDetails

public void printDetails()
Print details of student onto console


printDetails

public void printDetails(java.io.PrintStream p)
Print details of student onto print stream given as argument