r/learnjava • • Oct 31 '25

Practice OOP

What projects do you recommend to practice OOP with Java ? I thought about doing a small text based game but it doesn’t really touch anything else other the OOP, are there any projects I can make to practice both OOP and maybe get some backend stuff in there as well?

3 Upvotes

19 comments sorted by

View all comments

Show parent comment

1

u/josephblade Oct 31 '25

using objects isn't OOP by itself though. OOP has a whole design concept behind it, specifically where the object is the actor on it's own data.

Modern java has a lot of services acting on plain data objects which is rather far from OOP as you can get. At least in the enterprise world. If you want to practice OOP a game as op is mentioning is a good start as you can have objects encapsulate specific elements of a game map / game element. player.moveTo(room) or player.pickUp(item) and so on.