Skip to content

lokeswaram/BankingSystem

Repository files navigation

🏦 Online Banking System (Java Console Application)

A Java-based Online Banking System built using Object-Oriented Programming (OOP) principles, custom exceptions, and secure login handling.
This project simulates basic banking operations such as deposit, withdrawal, balance check, and interest calculation.


📌 Features

  • 🔐 Secure Login System (3 attempts, account lock)
  • 💰 Deposit Money
  • 💸 Withdraw Money (with insufficient balance check)
  • 📊 Check Account Balance
  • 📈 Interest Calculation for Savings Account
  • ❌ Proper Exception Handling using try-catch
  • 🧱 Clean OOP Design

🧠 OOP Concepts Used

  • Encapsulation – Private variables with getters/setters
  • Abstraction – Abstract BankAccount class
  • InheritanceSavingsAccount extends BankAccount
  • Polymorphism – Overridden calculateInterest() method
  • InterfaceBankService interface
  • Custom Exceptions
    • InvalidCredentialsException
    • InsufficientBalanceException

🛠️ Technologies Used

  • Java (Core Java)
  • OOP Concepts
  • Exception Handling
  • Scanner (User Input)
  • Git & GitHub

▶️ How to Run the Project

  1. Clone the repository:
    git clone https://github.com/lokeswaram/BankingSystem.git

🚀 Future Enhancements

  • File-based or Database storage
  • Multiple user accounts
  • Transaction history
  • Admin panel
  • GUI using JavaFX or Swing

About

Java Online Banking System Using OOP & Exception Handling

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages