Skip to content

Instantly share code, notes, and snippets.

@reevik
Created February 14, 2022 16:14
Show Gist options
  • Save reevik/83c7ce99e317bd2154bab6b2e60ee26e to your computer and use it in GitHub Desktop.
Save reevik/83c7ce99e317bd2154bab6b2e60ee26e to your computer and use it in GitHub Desktop.
Cat cat1 = new Cat(AnimalSoundLib.MEOW);
cat1.sing(); // meooww
Cat cat2 = new Cat(AnimalSoundLib.MEOOO);
cat2.sing(); // meoooo
// more cats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment