abstract class mammal extends animal{