Create a class called cashregister based on the information


Assignment

1. Create a class called CashRegister based on the information given (Create appropriate constructors, accessors and mutator methods).

2. Write a tester/driver class to test out your application. This program will contain a main method. Look at the sample output to see the flow of execution. This will help you the details of the driver program.

3. Provided with this assignment is the class definition for a class named RetailItem. I have provided the interface for this class. You MUST use the class I have provided and not create your own.

Once the CashRegister.java and the driver class .java are written, put the files together with the RetailItem.class (note the .class extension) file in the same folder. You are now ready to compile and test your program.

Attachment:- Given_Information.rar

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Create a class called cashregister based on the information
Reference No:- TGS02215421

Expected delivery within 24 Hours