edu.pdx.cs399J.lang
Class Turkey

java.lang.Object
  extended by edu.pdx.cs399J.lang.Animal
      extended by edu.pdx.cs399J.lang.Bird
          extended by edu.pdx.cs399J.lang.Turkey

public class Turkey
extends Bird

This class represents a Turkey. Turkies are birds that do not fly.


Field Summary
 
Fields inherited from class edu.pdx.cs399J.lang.Animal
name
 
Constructor Summary
Turkey(String name)
           
 
Method Summary
 String says()
          Returns the sound that this animal makes.
 
Methods inherited from class edu.pdx.cs399J.lang.Animal
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Turkey

public Turkey(String name)
Method Detail

says

public String says()
Description copied from class: Animal
Returns the sound that this animal makes.

Specified by:
says in class Animal


Copyright © 2000-2009 Portland State University. All Rights Reserved.