An online bank application provides customers with three types of accounts: checking, savings, and credit. The credit account is tied to the credit card issued by the bank.
The bank supports the following transactions involving accounts belonging to the same customer: withdrawal, transfer, deposit.
A transfer transaction involves 2 accounts. A customer has an address.
Draw a UML class diagram that shows the relations between these classes:
Account
CreditAccount
SavingsAccount
CheckingAccount
Bank
Address
CreditCard
Customer