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 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
Customer name String address String I... View full answer
Get step-by-step solutions from verified subject matter experts
