Git Product home page Git Product logo

bank-system-java's Introduction

bank-system-java 🏧🏦

bank system with java (oop)
i used #Inheritance , #Polymorphism , #Abstraction , #Interface
=> Console Application

i'll add more feature later :)
LIKE -> Database - GUI - methodes

1. Bank system class

keep track of all customers (Array List), add new customer, 
get information about all customers of this bank.

2. Customer class

has name, id, phone number, accounts (Array List of accounts add account, show
accounts methods to check/ change the customers information.

3. Account class

has balance, currency, make a transfer, withdraw, deposit and Calc_balance(abstract method).
There are two types of accounts, Checking account and Saving account.
When creating any account type you must check that the balance at the creation time gearter
than 1000 LE when the customer create any account with balance less than 1000 LE the program
must throw LowBalanceException with a message “balance less than 1000 LE will not be allowed”
then ask the user to enter at least 1000 LE then create the account.

1.Saving account class: has interest rate =8% shared with all checking account customers, 
updateInterestRate to change the interest rate for the bank’s saving account.

2. Checking account class: this account allows the customer to withdraw even there has no
balance to a limit equal 1000 LE, there is method to change the limit variable which is
share with all checking account customers

bank-system-java's People

Contributors

kirollosatef avatar

Stargazers

Roman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.