public class DuckSimulator extends java.lang.Object
Constructor and Description |
---|
DuckSimulator() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
(package private) void |
simulate(AbstractDuckFactory duckFactory) |
(package private) void |
simulate(Quackable duck) |
public DuckSimulator()
public static void main(java.lang.String[] args)
void simulate(AbstractDuckFactory duckFactory)