Example: Draw UML diagram for the below system A bank system contains data on…
- User
Example: Draw UML diagram for the below system A bank system contains data on customers(identified by name and address) and their accounts. Each account has a balance and there are 2 type of accounts: one for savings which offers an interest rate, the other for investments, used to buy stocks. Stocks are bought at a certain quantity for a certain price (ticker) and the bank applies commission on stock orders
- Assistant
Here is an example of a UML diagram for the bank system:
+-----------------+ | BankSystem | +-----------------+ | - customers | | - accounts | +-----------------+ | | +--------------+ | Customer | +--------------+ | - name | | - address | +--------------+ | | +--------------+ | Account | +--------------+ | - balance | +--------------+ | | +-----------+ | Savings | +-----------+ | - interest | +-----------+ | | +-------------------+ | Investment | +-------------------+ | - stocks | | - commissionRate | +-------------------+ | | +---------+ | Stock | +---------+ | - quantity | | - price | | - ticker | +---------+