Question: CREATE A Bank Management system IN JAVA. REQUIREMENTS ARE GIVEN BELOW. Objectives Apply OOP concepts (Inheritance and Polymorphism) Design appropriate GUI and event handling. Identify

CREATE A Bank Management system IN JAVA. REQUIREMENTS ARE GIVEN BELOW.

Objectives

  1. Apply OOP concepts (Inheritance and Polymorphism)
  2. Design appropriate GUI and event handling.
  3. Identify classes from a given domain.
  4. Identify is-a/has-a relationship among the classes identified for a domain
  5. Define Interfaces.
  6. Apply run-time polymorphism.
  7. Apply Exception Handling.

Introduction

Banking System

xyz Bank is a bank which provides banking services to its customers, it is spread across country having more than 500 branches. It uses software product to serve customers and it uses it to automate creating different type of accounts services like Savings account and provident fund account. The customer can deposit, withdraw, or transfer money from one account to another account. The application is used by bank itself and customers.

Note:

  1. Do not include extra instance variables or member methods in the given class.
  2. Do typecasting wherever appropriate.
  3. Define constructors in class hierarchy properly
  4. Define getter/setter methods wherever applicable
  5. The customer can deposit/withdraw amount from SavingsAccount but he can only transfer amount to ProvidentFundAccount.

Task:

Write a java program to implement the class diagram below.

CREATE A Bank Management system IN JAVA. REQUIREMENTS ARE GIVEN BELOW. Objectives

Account > -accno : int -balance: double +Account(int, double) BankInterface Transferinterface + depositAmonut(double): void +withdrawAmount(double):void +transferFund Savings Account +Provident FundAccount): void Provident FundAccount Savings Account +Savings Account(int.double) +depositAmount(double): void +withdrawamount(double): void +providentFundAccount(int double) + Savings Account (int.double) K Customer -custid:int -custName: String savingsAccount: Savings Account prvident FundAccount: PrvidentFundAccount +Customer(int, String, Savings Account, Provident FundAccount) +transferFund Savings Account, Provident Fund Account double): void

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!