Skip to content

Code4Cat/BankingSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BankingSystem

This is a simple Banking System. It can perform some basic operations including account creation, deposit, withdrawal and transfer.

Build Environment

  • OpenJDK version 18 (Minimun SDK: verison 14)
  • IntelliJ IDEA 2022.1.2

File Structure

 ┣ 📦src
 ┣  ┣ 📦Exceptions                   ## Storing custom exceptions
 ┣  ┣  ┣ 📜 InsufficientFundsException                 
 ┣  ┣  ┣ 📜 WithdrawalLimitReachedException         
 ┣  ┃                                ## Enums
 ┣  ┣ 📜Currency                       
 ┣  ┣ 📜TransactionType                       
 ┣  ┃                                ## Main Components
 ┣  ┣ 📜Main                             # Menu-driven main program
 ┣  ┣ 📜User                             # User class. A user object can have many BankAccounts
 ┣  ┣ 📜BankAccount                      # BankAccount class. A BankAccount must belongs to one user.
 ┣  ┣ 📜Transaction                      # Transaction class.
 ┃  
 ┣ BankingSystem.jar                 ## Executable JAR file

Others

OSL_FEE, Alice and Bob are the pre-defined user accounts. For simplicity, user can login to the system by typing the username (case-sensitive)

About

A Simple Banking System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages