"Hej, Amigo! Här är jag. Och jag har gett dig ... en stor och intressant uppgift om multipelt arv."
3
Uppgift
Java Core, nivå, lektion
Låst
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!).