public class RedHeadDuck extends Duck
Constructor and Description |
---|
RedHeadDuck() |
Modifier and Type | Method and Description |
---|---|
void |
display() |
performFly, performQuack, setFlyBehavior, setQuackBehavior, swim
public RedHeadDuck()
public void display()