Why does the eat() method in the Hamster class not override the method in the Rodent class?
Hamster doesn't extend RodentHamster has a different method bodyIt's because Hamster doesn't extend Rodent. We need an inheritance relationship to be able to override.