com.google.code.java2objc.examples.inheritance
Class Teacher

java.lang.Object
  extended by com.google.code.java2objc.examples.inheritance.Person
      extended by com.google.code.java2objc.examples.inheritance.Teacher

public class Teacher
extends Person


Constructor Summary
Teacher(int id, String firstName, String lastName, double age, String school, double salary)
           
 
Method Summary
static double averageSalary(Collection<Teacher> teachers)
           
 String getSchool()
           
 
Methods inherited from class com.google.code.java2objc.examples.inheritance.Person
getAge, getFirstName, getId, getLastName, isSenior
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Teacher

public Teacher(int id,
               String firstName,
               String lastName,
               double age,
               String school,
               double salary)
Method Detail

getSchool

public String getSchool()

averageSalary

public static double averageSalary(Collection<Teacher> teachers)


Copyright © 2011. All Rights Reserved.