Created
January 12, 2021 16:52
-
-
Save NitinPraksash9911/eda394ba6fa49059ebbb68a46b22abe9 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
interface Robot { | |
fun reset() | |
} | |
interface Flyable { | |
fun fly() | |
} | |
interface Talkable { | |
fun talk() | |
} | |
class ButterflyRobot : Robot, Flyable { | |
override fun reset() { | |
TODO("not implemented") | |
} | |
override fun fly() { | |
TODO("not implemented") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment