Question: 4. Create a driver class named TestXXX (replace XXX by the first 3 letters of your last name. If you do not have a


4. Create a driver class named TestXXX (replace XXX by the first

4. Create a driver class named TestXXX (replace XXX by the first 3 letters of your last name. If you do not have a last name, use first 3 letters of your first name.) This driver class should contain everything to accomplish the following: When you execute your application, it prompts the user for student Id, name, department, and tuition fees and creates an object with the information entered from the console as input. It also asks the user about the type of bank account type the user maintains. Then it prompts the user about his/her pet animal type. You should use the implemented interface methods accoutnType and petType to display the values you entered.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!