Question: Create a project called CashRegisterClassReview Create a class called CashRegister include the following instance variables itemCount cashRegisterTotal allCashRegisterTotals (static) Please add more variables, this is
- Create a project called CashRegisterClassReview
- Create a class called CashRegister
- include the following instance variables
- itemCount
- cashRegisterTotal
- allCashRegisterTotals (static)
- Please add more variables, this is the minimum you need
- include the following methods with their appropriate action
- addItem( double)
- removeItem( double)
- getCashRegisterTotal()
- getCount()
- getAllCashRegisterTotals()
- clear()
- Please add more methods, this is the minimum you need
- make sure to create a constructor(s)
- make sure to comment your code/methods
- include the following instance variables
- Create another class called UsingCashRegister
- instantiate CashRegister and use the assessors/mutators to manipulate and retrieve data
- Turn in screen shots of the result
- Also turn in the two java files CashRegister and UsingCashRegister
Java Please!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
