edu.pdx.cs399J.lang
Class Bee

java.lang.Object
  extended by edu.pdx.cs399J.lang.Animal
      extended by edu.pdx.cs399J.lang.Insect
          extended by edu.pdx.cs399J.lang.Bee
All Implemented Interfaces:
Flies

public class Bee
extends Insect
implements Flies

This class represents a bee. Bees can fly.


Field Summary
 
Fields inherited from class edu.pdx.cs399J.lang.Animal
name
 
Constructor Summary
Bee(String name)
           
 
Method Summary
 void fly()
           
 
Methods inherited from class edu.pdx.cs399J.lang.Insect
says
 
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

Bee

public Bee(String name)
Method Detail

fly

public void fly()
Specified by:
fly in interface Flies


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