Question: Design a Vending Machine in Java using OOP (object oriented programing) concepts You need to design a Vending Machine which Accepts coins of 1,5,10,25 Cents
Design a Vending Machine in Java using OOP (object oriented programing) concepts
You need to design a Vending Machine which
- Accepts coins of 1,5,10,25 Cents i.e. penny, nickel, dime, and quarter.
- Allow user to select products Coke(25), Pepsi(35), Soda(45)
- Allow user to take refund by canceling the request.
- Return selected product and remaining change if any
- Allow reset operation for vending machine supplier.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
