Created
September 10, 2020 19:18
-
-
Save BKinya/bf07dda506ad23dc48847f0281158562 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
class Animal{ | |
void move(){ | |
print('Animal moves'); | |
} | |
} | |
class Fish extends Animal{ | |
@override | |
void move(){ | |
print('Fish swims'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment