Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Please Answer The Question Correctly And Completely OR YOU WILL GET DOWNVOTED Draw UML Class Diagram Which Illustrates Your Design Of The Below Problem :

Please Answer The Question Correctly And Completely OR YOU WILL GET DOWNVOTED

Draw UML Class Diagram Which Illustrates Your Design Of The Below Problem :

Consider designing a program for managing different banks data across the country.

A bank has a name and number of branches. Each branch has an address and number of accounts. We have Three types of accounts:

checking, saving and online.

A checking account has an owner, balance (float) and accou fees (float), A saving account has an owner, balance (float) and interest rate (float). An online account has an owner, balance (float) and number of transactions (int).

An owner can have one or more accounts of any type in any number of branches of any banks.

An owner has a name, id and list of accounts.

In the program, it is required that a bank instance can be removed. In such case only branches and accounts of branches should be removed, while owners should still exist.

Checking and saving accounts are chargeable accounts while an online account is not.

A chargeable account is an account in which a tax value can be deducted from its balance.

Saving and online accounts are profitable accounts, while checking account is not. A profitable account is an account which the bank can add certain amount of profit to its balance.

A constant is required in checking class to represent withdraw limit (value 100,000)

A static method is required called calcTaxes in class owner, which receive owner object and returns 5% of the total of his accounts' balances.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle9i Database Administrator Implementation And Administration

Authors: Carol McCullough-Dieter

1st Edition

0619159006, 978-0619159009

Students explore these related Databases questions