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

I need help with number two on this question. The class name

is CoffeeShop. Create a static method named lookupMakeTime that takes in an

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!