Question: Create a class diagram for a Bank system: A bank system contains data on customers (identified by name and address) and their accounts. Each account

 Create a class diagram for a Bank system: A bank system contains data on customers (identified by name and address) and their accounts. Each account has a balance and there is 2 types of accounts: one for savings which offers an interest rate, the other for investments(Cheque), used to buy stocks. Stocks are bought at a certain quantity for a certain price (ticker) and the bank applies commission on stock orders.

Bank solution Customer ename : String @address : String 1Io Account @cashBalance : Double InvestmentAccount SavingAccount si

   

Bank solution Customer name: String address: String InvestmentAccount cashBalance: Double Stock ticker: String quantity: Integer 1 0.. Account 1 SavingAccount interestRate: Double StockOrder commission: Double

Step by Step Solution

3.37 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Customer name String address String I... View full answer

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 Accounting Questions!