Question: JAVA question: 1. Write a class called Coffee that has fields called type_of_coffee, size, price. 1a. Create constructors (create a default constructor and different argument
JAVA question:
1. Write a class called Coffee that has fields called type_of_coffee, size, price.
1a. Create constructors (create a default constructor and different argument constructors), getter and setter methods, increase price method, and decrease price method.
1b. Create a tester class to test each constructor and method.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
