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