/DuckExample

STRATEGY DESIGN PATTERN - Each duck has a FlyBehaviour and QuackBehaviour to which it delegates flying and quacking (Composition.) Each type of Duck extends the Duck Class (Inheritance).

Primary LanguageJavaMIT LicenseMIT

Stargazers

No one’s star this repository yet.