"Hello, Amigo! Here I am. And I've brought you ... a big and interesting task about multiple inheritance."
Tom, Jerry and Spike
Use class and interfaces to implement the relationship between Tom, Jerry and Spike the Bulldog. The cat can move, eat, or be eaten. The mouse can move and be eaten. And the dog can move and eat (whoever it wants!).
GO TO FULL VERSION