Created
January 12, 2021 16:51
-
-
Save NitinPraksash9911/b66d5e0486e7d496ff808b0e0914f6ad 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() | |
fun fly() | |
fun talk() | |
} | |
class ButterflyRobot : Robot { | |
override fun reset() { | |
TODO("not implemented") | |
} | |
override fun fly() { | |
TODO("not implemented") | |
} | |
override fun talk() { | |
// a method that we are not going to use. | |
TODO("???") | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment