Introduction to Kotlin
Start your first exciting journey with Kotlin programming! Discover how to work with variables, control code flow, and grasp essential concepts of object-oriented programming.
Understand the language behind millions of apps. Grasp core concepts, write basic programs, and make your first step toward breaking into 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 995 days and:
Completed647 topics45 projects
Solved5543 problems677 problems of the day
Posted23 comments2 useful links35 hints392 solutions
- 8Project Master
- 14Topic Master
- 15Committed Learner
- 13Brilliant Mind
- 7Helping Hand
- 7Sweetheart
- 2Benefactor
- 1Bounty Hunter