once you have written the class, write a program that creates an object of the class and prompts the user to enter the name, type, and age of his or her pet. this data should be stored as the object’s attributes. use the object’s accessor methods to retrieve the pet’s name, type, and age and display this data on the screen.



Answer :

Other Questions