• 4
  • Locked
A rose by any other name: it's no coincidence that the famous cartoon cat is called Tom. In the language of Shakespeare, a tomcat is a male cat. Obviously, tomcat is also a "regular" cat and can move. Correct the program so that the variable cat references an object that simultaneously implements CanMove, and is a Cat and a Tomcat.
You can't complete this task, because you're not signed in.
  • Popular
  • New
  • Old
You must be signed in to leave a comment
This page doesn't have any comments yet