Classes in the systemīank, Branch, Account, Savings Account, Current Account, Loan, and Customer. ![]() The following figure shows the corresponding class diagram. A customer may also procure loans from the bank. However, a customer must not have more than one savings account or current account. A customer may open both a savings account and a current account. An account may be either a savings account or a current account. Each branch can have multiple accounts and loans. In each zone, one branch is designated as the zonal head office that supervises the other branches in that zone. Let us consider a simplified Banking System.Ī bank has many branches. It comprises of the classes, interfaces, and collaborations of a system and the relationships between them. ![]() Class DiagramĪ class diagram models the static view of a system. UML structural diagrams are categorized as follows: class diagram, object diagram, component diagram, and deployment diagram.
0 Comments
Leave a Reply. |