Code Monkey home page Code Monkey logo

bankinheritance's Introduction

BankInheritance

Project Overview

Purpose

This project uses inheritance to keep track of checking/savings accounts in a bank. Displays menu that will allow the user to manage and make changes to the bank accounts.

Features

  • Inheritance
  • Data Encapsulation
  • Arrays
  • User Input Verification
  • Classes
  • Methods
  • Interfaces
  • Object-Oriented Programming

Prerequisites

  • Java
    • Classes: Scanner, Object, Arrays
    • Skills: methods, user input validation, arrays, classes, inheritance, interfaces
  • Unix Commands

Project Setup

Running the Code

Download the files from the GitHub repository. Open the files in an IDE. In the IDE terminal, navigate to the folder where the files are held using the Unix command "cd". Once in the correct folder, compile all of the files using the command "javac fileName". Then, to run the code and display the menu in the terminal, use the command "java fileName" with the BankManager.java file. Be sure that all of the files are in the same folder, or the code will create an error.

File Descriptions

BankAccount.java

  • Programming Languages: Java
  • Skills: methods, abstract classes, inheritance, interfaces
  • Description: creates an abstract parent class for checking and savings accounts to inherit from; overrides equals, compareTo, and toString methods

CheckingAccount.java

  • Programming Languages: Java
  • Skills: methods, classes, inheritance
  • Description: creates a child class to BankAccount that encapsulates the data for checking accounts

CheckingAccount.java

  • Programming Languages: Java
  • Skills: methods, classes, inheritance
  • Description: creates a child class to BankAccount that encapsulates the data for savings accounts

Bank.java

  • Programming Languages: Java
  • Skills: methods, classes, arrays
  • Description: creates an array of bank accounts

BankManager.java

  • Programming Languages: Java
  • Skills: methods, arrays, user input validation
  • Description: displays menu to manage all the bank accounts in a bank

References

Images

  • Example Output:

Helpful Links

bankinheritance's People

Contributors

elizabethpursell 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.