class Student extends Person
Constructor and Description |
---|
Student()
Create a student with default settings for detail information.
|
Student(java.lang.String name,
int yearOfBirth,
java.lang.String studentID)
Create a student with given name, year of birth and student ID
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStudentID()
Return the stident ID of this student.
|
java.lang.String |
toString()
Return a string representation of this object.
|
getAddress, getName, getYearOfBirth, setAddress, setName, setYearOfBirth