Skip to content

Instantly share code, notes, and snippets.

@NitinPraksash9911
Created January 12, 2021 16:51
Show Gist options
  • Save NitinPraksash9911/b66d5e0486e7d496ff808b0e0914f6ad to your computer and use it in GitHub Desktop.
Save NitinPraksash9911/b66d5e0486e7d496ff808b0e0914f6ad to your computer and use it in GitHub Desktop.
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