Ohhh... so that's why he kept telling me, "You're dog has to eat!" I thought he just meant that all animals eat, so my dog must also eat... I didn't know he meant that I have to use Eat in the Dog class because the interface is like a contract.
I thought an interface was just a way for multiple objects instantiated from different classes to share the same methods...
Last edited by FanIn80; 05-19-2010 at 07:50 PM.
|