The Bank Management System is a console-based Java application developed using Core Java and File Handling.
This project allows users to perform basic banking operations without using SQL or any external database.
All account information is stored securely in a text file (accounts.txt).
- ✅ Create New Account
- ✅ Deposit Money
- ✅ Withdraw Money
- ✅ Check Account Balance
- ✅ Prevent Duplicate Accounts
- ✅ Validate Balance Before Withdrawal
- ✅ Automatic File Creation
- ✅ Exception Handling
- Java (Core Java)
- OOP Concepts
- File Handling (FileWriter, FileReader, BufferedReader, BufferedWriter)
- IntelliJ IDEA
This project uses File Handling instead of MySQL.
All account data is stored in:
accounts.txt
accountNumber,name,balance
101,Reshmitha,5000.0
102,Rahul,3000.0
BankManagementSystem/
│
├── src/
│ └── BankSystem.java
│
├── accounts.txt (Auto-created)
│
└── README.md
git clone https://github.com/your-username/BankManagementSystem.git
- Open IntelliJ
- Click Open
- Select the project folder
- Open
BankSystem.java - Click Run
====== BANK MANAGEMENT SYSTEM ======
1. Create Account
2. Deposit
3. Withdraw
4. Check Balance
5. Exit
- Classes and Objects
- Methods
- Encapsulation (Basic Level)
- Exception Handling
- Loops
- Conditional Statements
- User selects an operation from the menu
- Program reads/writes account data to
accounts.txt - For deposit/withdraw:
- Temporary file is created
- Balance is updated
- Old file is replaced
- 🔐 Admin Login System
- 🧾 Transaction History
- 💻 GUI Version using Java Swing
- 📊 Interest Calculation Feature
- 📁 Separate Transaction Log File
- 🌐 Convert to Web-Based Application
This project helps understand:
- Real-time file handling
- Data persistence without database
- Java console application structure
- Banking logic implementation
- Error handling in Java
Reshmitha R
B.Tech / B.E Electronics and Communication Student Student
This project is created for educational purposes only.
⭐ If you like this project, consider giving it a star!