Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started