Question: 2. (25 pts) Dr (25 pts) Draw an UML sequence diagram that depicts the flow of execution of a client creating a bank account and

2. (25 pts) Dr (25 pts) Draw an UML sequence diagram that depicts the flow of execution of a client creating a bank account and depositing money. al. A Customer object calls the login method of a Bank object. a. A in returns success an openSavingsAccoun he Customer invokes an openSavingsAccount method of Bank object. d. Bank creates an instance of a new Savings Account. e. Bank adds the SavingsAccount to a list of its accounts. (Hint: the add method is defined in Bank). f. The add method returns. g. The openSavings Account method returns. h. Sometime later, the Customer calls checkBalance() on Savings Account and balance is returned to the Customer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
