Created
February 14, 2022 16:14
-
-
Save reevik/83c7ce99e317bd2154bab6b2e60ee26e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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