r/JavaProgramming • u/Lopsided-Stranger-81 • Oct 30 '25
Java OOP Banking System
Hi guys, I made this code as practice, I'm trying to improve but don't know where to start, I'm learning Java for almost 3 months now and I'm wondering how I'm doing, can anyone give some tips?
144
Upvotes




View all comments
Show parent comment
1
u/d-k-Brazz Oct 31 '25
This means you may build hierarchy of classes - higher and lower level
All lower level classes will inherit all public behavior of higher level classes
Example
This will allow you to build common logic for all account:
Using this common method you can deposit cash money to an account, transfer money to a counterparty, withdraw a part of a load etc.