A simple console-based banking system written in Java that allows users to create accounts, log in, deposit money, withdraw money, and check their balance.
- Create account
- Log in with a username (no password)
- Deposit money
- Withdraw money (if sufficient balance)
- Check account balance
- Log out
- Easy-to-use menu system via console
- Object-oriented programming (Java classes and objects)
- Loops and conditions
HashMapfor storing accounts- Session-based login (no database)
- Clone this repository or copy the code.
- Open the project in a Java IDE (e.g., IntelliJ, Eclipse).
- Make sure you have Java installed (Java 8 or higher).
- Run the
Main.javafile.
==== BANK MENU ====
1. Create Account
2. Login
3. Deposit Money
4. Withdraw Money
5. Show balance
6. Logout
7. End