Skip to content

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

🏦 Banking System Application (Java)

A simple console-based Banking System Application developed in Java using Object-Oriented Programming (OOP) concepts.
The application allows users to create bank accounts and perform basic banking operations such as deposit, withdrawal, and account search.


🎯 Objective

To design a menu-driven banking system that demonstrates:

  • Classes and Objects
  • Constructors
  • Arrays of Objects
  • Methods
  • User input using Scanner class

🧩 Features

  • Create multiple customer accounts
  • Display all account details
  • Search account by account number
  • Deposit money into an account
  • Withdraw money from an account
  • Balance validation during withdrawal
  • Menu-driven program using loops and switch-case

πŸ› οΈ Technologies Used

  • Java
  • Scanner class for user input
  • OOP concepts (Class, Object, Constructor, Methods)

πŸ“‚ Program Structure

BankingApp.java β”‚ β”œβ”€β”€ class BankDetails β”‚ β”œβ”€β”€ Account details (accno, name, acc_type, balance) β”‚ β”œβ”€β”€ Constructor for account creation β”‚ β”œβ”€β”€ showAccount() – display account details β”‚ β”œβ”€β”€ deposit() – deposit amount β”‚ β”œβ”€β”€ withdrawal() – withdraw amount β”‚ └── search() – search account by account number β”‚ └── class BankingApp └── main() – menu-driven execution


▢️ How the Program Works

  1. User enters the number of customers.
  2. Account details are taken using a constructor.
  3. A menu is displayed repeatedly until the user exits.
  4. User can:
    • View all account details
    • Search for an account
    • Deposit money
    • Withdraw money
    • Exit the application

πŸ“Œ Sample Operations

  • Deposit: Adds amount to the current balance
  • Withdrawal: Checks sufficient balance before withdrawing
  • Search: Displays account details if account number matches

πŸš€ How to Run

  1. Save the code as BankingApp.java

  2. Compile the program: javac BankingApp.java

  3. Run the program: java BankingApp


βœ… Conclusion

This Banking System Application is a beginner-friendly Java project that demonstrates core OOP principles and user interaction through a console-based menu. It is suitable for academic assignments, practical exams, and viva preparation.


πŸ“˜ Developed using Java OOP concepts

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages