Created
June 28, 2021 17:32
-
-
Save imsaravana369/2185a7dc2af481cec2537b5e7d309374 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 Dog{ | |
String name; | |
Dog(this.name); | |
} | |
class Labrador extends Dog{ | |
Labrador(String name):super(name); | |
} | |
class Doberman extends Dog{ | |
Doberman(String name):super(name); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment