class Cat : Animal{ | |
func run() { | |
print("Cat is running now") | |
} | |
func stop() { | |
print("Cat has stopped now") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
class Cat : Animal{ | |
func run() { | |
print("Cat is running now") | |
} | |
func stop() { | |
print("Cat has stopped now") | |
} | |
} |