Class Person

java.lang.Object
  extended by Person

public class Person
extends java.lang.Object

Class describing a person

Version:
02-17-09
Author:
TK Rogers

Constructor Summary
Person()
          Constructs a new Person object
Person(double wt, double ht)
          Constructs a new Person object
 
Method Summary
 double getWeight()
          Accesses the instance variable weight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person()
Constructs a new Person object


Person

public Person(double wt,
              double ht)
Constructs a new Person object

Parameters:
wt - = the person's weight
Method Detail

getWeight

public double getWeight()
Accesses the instance variable weight

Returns:
the person's weight