I have already finished method 1 and 2, they run successful. I'm now stuck in method 3, hoping that the instructor can modify my method 3 and write method 4. Prefer detail and instructive comments...

1 answer below »
I have already finished method 1 and 2, they run successful. I'm now stuck in method 3, hoping that the instructor can modify my method 3 and write method 4. Prefer detail and instructive comments about the code.
The instructor can also provide a better way of doing method 3






Starbucks.java is my code

breakfast.txt is the file import, I paste the path of this txt in my code, you can also do that in your computer.

do not change the code outside the four methods

the two images are the expected output and instruction













Sam, Coffee, Banana cake Lisa, Chai latte, Donut Joe, Coffee, Egg sandwich, Brownie Raj, Cafe latte, French toast Cindy, Cafe latte, Donut, Egg sandwich Rachel, Iced tea, French toast Seema, Chai latte, Egg sandwich
Answered 2 days AfterSep 23, 2022

Answer To: I have already finished method 1 and 2, they run successful. I'm now stuck in method 3, hoping that...

Aditi answered on Sep 24 2022
61 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here