Question: takeOrder: This method takes in a String and returns a new array containing the orders of the customer. If the customer is Ergun, you should
takeOrder: This method takes in a String and returns a new array containing the orders of the customer. If the customer is Ergun, you should return an array of Strings beyti "pizza", "hamburger", "tea" in that order. If the customer is Erik, you should return an array of Strings sushi "pasta", "avocado", "coffee" In any other case, return an empty String array of size
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
