People
Class Student

java.lang.Object
  extended by People.Person
      extended by People.Student

public class Student
extends People.Person

Exemplo de subclasse - Student herda de Person

Version:
0.1
Author:
Moacir

Field Summary
 
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
 
Method Summary
 void addCredits(java.lang.Integer creditstoadd)
           
 java.lang.Integer getCredits()
           
 
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
 

Constructor Detail

Student

public Student(java.lang.String name,
               java.lang.String institute)
Constructor 1 for objects of class Student sets only atributes inherited from Person

Method Detail

addCredits

public void addCredits(java.lang.Integer creditstoadd)

getCredits

public java.lang.Integer getCredits()