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