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

java.lang.Object
  extended by com.google.code.java2objc.examples.inheritance.Person
Direct Known Subclasses:
Teacher

public class Person
extends Object


Constructor Summary
Person(int id, String firstName, String lastName, double age)
           
 
Method Summary
 double getAge()
           
 String getFirstName()
           
 int getId()
           
 String getLastName()
           
 boolean isSenior()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person(int id,
              String firstName,
              String lastName,
              double age)
Method Detail

getId

public int getId()

getFirstName

public String getFirstName()

getLastName

public String getLastName()

getAge

public double getAge()

isSenior

public boolean isSenior()


Copyright © 2011. All Rights Reserved.