public abstract class Animal { public abstract void eat(); public abstract void move(); } public abstract class Mammal extends Animal { public abstract void giveBirth(); public abstract void takeTemp(); } public abstract class Reptile extends Animal { public abstract void layEggs(); public abstract void regulateTemp(); } Please finish these three classes Dog.java // TO DO: Make Dog.java extend Animal and Mammal. // Implement giveBirth() // print "Bow wowwwww did it hurt to have these puppies." // Implement takeTemp() // print "I should have a temperature around 101.0 to 102.5F." // Implement eat() // Print "Yum, I love kibbles and bits." // Implement move() // print "I love to run, jump, roll and play." Snake.java // TO DO: Make Snake.java extend Animal and Reptile. // Implement layEggs() // print "Hisssss did it hurt to lay all these eggs." // Implement regulateTemp() // print "I better find a sunny spot. I'm starting to get cold." // Implement eat() // Print "Yum, I love mice and frogs and other small things." // Implement move() // print "I love to slither and slide and sidewind." public class Driver { public static void main(String[] args) { //TO DO: create a Dog object //TO DO: create a Snake object //TO DO: put both dog and snake into the same array // Iterate through the array, and call the methods // eat, move, giveBirth, takeTemp, layEggs, and regulateTemp // on the array items. } } Abstract classes Animal, Mammal, and Reptile are written for you. Your first goal is to implement Dog and Snake. - Dog should inherit from Animal and Mammal. Method instructions are provided in the class. - Snake should inherit from Animal and Reptile. Method instructions are provided in the class. Then, complete the Driver. The instructions are provided inside the class. When it is written correctly, your Driver should output: Yum, I love kibbles and bits. I love to run, jump, roll and play. Bow wowwww did it hurt to have these puppies. I should have a temperature around 101.0 to 102.5F. Yum, I love mice and frogs and other small things. I love to slither and slide and sidewind. Hisssss did it hurt to lay all these eggs. I better find a sunny spot. I'm starting to get cold..