r/learnjava • u/davidgheo • Feb 11 '21
OOPs principles, interfaces, abstract classes, etc practice suggestions.
Hello, can anybody suggest some projects or exercises to practice those from above? I learned the theory but I feel like it's kind of useless if I don't write code to practice.
59
Upvotes
1
u/jnFamousDaN Feb 11 '21
I recommend you make some basic console based games, literally anything an user can do to interact with some other object.
I made a console based game where the scanner class would pick up user inputs. The game made was you want buy apples at a low price and sell it to the next merchant at a high price. To win the game, u must reach a million bucks.
Edit: here's my github https://github.com/jnfamousdan/1_Million_Store_Game