Class Human

java.lang.Object
  |
  +--Human

public class Human
extends Object

Class Human - a human being

Version:
Feb. 21, 2000
Author:
Stephen Bloch

Constructor Summary
Human(String name)
          Constructor for objects of class Human.
 
Method Summary
 void amputate(int howMany)
          amputate method.
 void move()
          move method.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Human

public Human(String name)
Constructor for objects of class Human.
Parameters:
name - the person's name
Method Detail

amputate

public void amputate(int howMany)
amputate method.
Parameters:
howMany - how many legs to amputate

move

public void move()
move method.


Generated by BlueJ