Created
January 20, 2021 13:06
-
-
Save lucamug/eaddc29c2b268e12a322771cbe15b8e9 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
if (isFish(pet)) { | |
pet.swim(); | |
} else { | |
pet.fly(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment