A simple Object-Oriented Programming (OOP) based Java project to simulate basic banking operations. It allows users to create accounts, deposit or withdraw money, check balances and view passbooks — all via a console menu. This project was developed as a mini project for the Object-Oriented Programming (OOP) subject as part of the Computer Engineering curriculum at Savitribai Phule Pune University (SPPU).
-
Create Savings or Current accounts
-
Deposit and withdraw funds
-
Display account details and balance
-
Generate transaction passbook
-
Validations for account existence and balance sufficiency
-
Interactive console menu
-
Object-Oriented Programming (Encapsulation, Classes, Objects)
-
Java Collections (
HashMap, ArrayList) -
Exception handling
-
Java
LocalDatefor transaction timestamps
- Clone the repository:
git clone https://github.com/AdarshZolekar/Banking-Management-System.git
cd Banking-Management-System- Compile the code:
javac bankingsystem.java
- Run the program:
java bankingsystem
===== OOP Bank =====
1. Create Account
2. Deposit Money
3. Withdraw Money
4. Check Balance
5. Display Account Information
6. Print Passbook
7. Exit
Choose an option: 1
Enter Account Type (savings/current): savings
Enter Holder Name: Adarsh
Enter Initial Deposit: 5000
Account created successfully! Account No: 1001
Choose an option: 2
Enter Account Number: 1001
Enter Amount to Deposit: 2000
₹2000.0 deposited successfully.
Choose an option: 3
Enter Account Number: 1001
Enter Amount to Withdraw: 1000
₹1000.0 withdrawn successfully.
Choose an option: 4
Enter Account Number: 1001
Balance: ₹6000.0
Choose an option: 6
Enter Account Number: 1001
--- Passbook for Account No: 1001 ---
2025-10-15 | Initial Deposit | ₹5000.0
2025-10-15 | Deposit | ₹2000.0
2025-10-15 | Withdrawal | ₹1000.0
Choose an option: 7
Thank you for banking with us!-
Java JDK 17 or later
-
No external dependencies required
-
Add interest calculation feature
-
Daily withdrawal limit reset
-
Store account data in a database or file
-
Add GUI using JavaFX or Swing
This project is open-source under the MIT License.
Feel free to open issues or submit pull requests for improvements or bug fixes!