Well, in this case, you just need to make a GiveMilkBehaviour interface and make a class for all the possible ways of giving milk. Now all animal classes that give milk implement that interface, use composition to include the proper way of giving milk, and the interface is implemented by delegation to that component.
No need for that pesky Mammal superclass