Question: I need help with number two on this question. The class name is CoffeeShop. Create a static method named lookupMakeTime that takes in an Order
I need help with number two on this question. The class name is CoffeeShop.
Create a static method named lookupMakeTime that takes in an Order enum value and using a switch statement returns a double representing how long that type of coffee takes to make. a. LATTE: 3.0 b. COFFEE: 0.5 c. ICED_COFFEE: 2.0 d. FRAPPE: 6.0
e. PASTRY: 3.0


2. Create a static method named lookupMakeTime that takes in an Order enum value and using a switch statement returns a double representing how long that type of coffee takes to make. LATTE: 3.0 a. b. COFFEE: 0.5 C. ICED_COFFEE: 2.0 d. FRAPPE: 6.0 e. PASTRY: 3.0 Order.java 1. Create an enumeration (enum) named Order with these values: a. LATTE b. COFFEE C. ICED_COFFEE d. FRAPPE e. PASTRY Coffee Shop.java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
