Skip to content

sybercingh/BankingSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🏦 Bank Management System (Java Console Application)

A simple Bank Management System built using Core Java. This project simulates basic banking operations like account creation, transactions, and transaction history using file handling.


🚀 Features

  • 🆕 Create Bank Account
  • 🔐 Secure Login (Password Protected)
  • 💰 Deposit Money
  • 💸 Withdraw Money
  • 🔁 Transfer Money between accounts
  • 📄 View Account Details
  • 📊 Check Balance
  • 🔑 Change Password
  • 🧾 Transaction History (Saved in file)

🛠️ Tech Used

  • Java (Core Java)
  • OOP Concepts
  • File Handling (BufferedReader / BufferedWriter)
  • Exception Handling
  • ArrayList (Collection Framework)

📁 Project Structure

BankAccount.java                  // Account logic & operations
Main.java                         // User interface & flow
InsufficientBalanceException.java // Custom exception
accounts.txt                      // Stores account data
transactions.txt                  // Stores transaction history

⚙️ How It Works

  • All accounts are stored in a file (accounts.txt)
  • On program start → data loads into memory (ArrayList)
  • On every operation → file gets updated
  • Transaction history is maintained separately

▶️ How to Run

  1. Clone the repository:
git clone https://github.com/YOUR_USERNAME/bank-management-system-java.git
  1. Open in any IDE (IntelliJ recommended)

  2. Run:

Main.java

🧠 Concepts Learned

  • Object-Oriented Programming (Encapsulation, Abstraction)
  • File Handling vs In-Memory Data
  • Custom Exception Handling
  • Real-world logic building
  • Debugging & Project Structuring

📌 Future Improvements

  • GUI (JavaFX / Swing)
  • Database integration (MySQL / JDBC)
  • Password encryption
  • Multi-user support

🙌 Author

Prakhar Singh


⭐ If you like this project

Give it a star ⭐ on GitHub and share your feedback!

About

Java Banking System using OOP and File Handling

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages