Create a Bird class and Mammal class
Every AnimalKingdom class should support the followingcalls:
public String getName() – returns the name ofthe object
public String toString() returns the objectname along with a list of where it is in the classification ofliving organisms. For instance, the method on an object named Jackof the class Raccoon, should return something like “Ricky (Eagle,Bird, Animal Kingdom)”
Every Bird has feathers…
Bird(String name, String featherColor) – constructs a newinstance of the Bird class
public void showFeathers() – prints out a statement about thecolor of the bird’s feathers.
Every Mammal drinks milk…
Mammal(String name) – constructs a new instance of the Mammalclass public void
PayPal Gateway not configured
PayPal Gateway not configured