Frontend Developer
Master core web development concepts and the popular tool suite, JavaScript, HTML, and CSS to create your own websites and apps.
Learn Python fundamentals and build projects you can actually use: to automate tasks or start a career in tech.More details
What can be better than a cup of coffee during a break? A coffee that you don’t have to make yourself. It’s enough to press a couple of buttons on the machine and you get a cup of energy; but first, we should teach the machine how to do it.
In this project, you'll program a coffee machine simulator using Java. The machine works with typical products: coffee, milk, sugar, and plastic cups; if it runs out of something, it shows a notification. You can get three types of coffee: espresso, cappuccino, and latte. Since nothing’s for free, it also collects the money.
This project allows you to better understand the basic OOP, its main concepts such as classes, class methods and attributes, and get a taste of Java. Practice working with methods, challenge yourself with loops and conditions, and get more confident with OOP.
User has been actively learning for 214 days and:
Completed497 topics28 projects
Solved3034 problems80 problems of the day
Posted17 comments0 useful links11 hints76 solutions
- 7Project Master
- 13Topic Master
- 8Committed Learner
- 9Brilliant Mind
- 5Helping Hand
- 4Sweetheart
- 2Benefactor