Problem:
Question- Write an interactive Java program. Write a class called Animal that contains instance data the represents the animal's name, age, type, and number of years equal to people years. Define the animal constructor to accept and initialize instance data. Include getter and setter methods for the name and age. Include a method to return the animals age in "person years" based on the age and the number of years equal to people years. Include a toString method that prints a sentence describing the animal. Create a driver class called Kennel, whose main method instantiates and updates several Animal objects, and uses the getter/setter methods as well as the toString and person years methods.
Please describe the animal constructor to accept and initialize instance data.