edu.pdx.cs399J.lang
Class Turkey
java.lang.Object
edu.pdx.cs399J.lang.Animal
edu.pdx.cs399J.lang.Bird
edu.pdx.cs399J.lang.Turkey
public class Turkey
- extends Bird
This class represents a Turkey. Turkies are birds that do not fly.
| Fields inherited from class edu.pdx.cs399J.lang.Animal |
name |
|
Method Summary |
String |
says()
Returns the sound that this animal makes. |
Turkey
public Turkey(String name)
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.