People
Class Student
java.lang.Object
People.Person
People.Student
public class Student
- extends People.Person
Exemplo de subclasse - Student herda de Person
- Version:
- 0.1
- Author:
- Moacir
Fields inherited from class People.Person |
birthday, birthyear |
Constructor Summary |
Student(java.lang.String name,
java.lang.String institute)
Constructor 1 for objects of class Student
sets only atributes inherited from Person |
Methods inherited from class People.Person |
getInstitute, getName, setInstitute, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Student
public Student(java.lang.String name,
java.lang.String institute)
- Constructor 1 for objects of class Student
sets only atributes inherited from Person
addCredits
public void addCredits(java.lang.Integer creditstoadd)
getCredits
public java.lang.Integer getCredits()