If God meant for us to fly, he'd have given us wings. Yeah, right! You're a programmer, so you decide who is capable of doing something. Need a flying penguin or a toad that can run a marathon? Yes, please! Just write some intelligible code. And now for the task. Add movement interfaces to each animal class. The details are in the task conditions.
CanFly, CanRun, and CanSwim for the Duck, Penguin, and Toad classes
You must be signed in to leave a comment
This page doesn't have any comments yet