We previously used the quite simple Animal interface as an example. Now to get the hang of it, implement the Dog class, which is supposed to implement the Animal interface.
For the purpose of this task, consider the dog being as close to normal as you can imagine. It means that the solutions in which dogs can talk or have a suspiciously large number of limbs will be considered wrong.
fun bark(): String { return barkString }
fun meow(): String { return meowString }
fun speak(): String { return speakString }
fun walk() { /* some code */ }
fun fly() { /* some code */ }
fun swim() { /* some code */ }
interface Animal {
val numberOfLimbs: Int
fun move()
fun communicate(): String
}