The Address Book model consists of an AddressBook class associated with an Entry class. We will create these classes on a Class diagram.
To create the Address Book class diagram
Use the Class Diagram toolbar to create a new Class named AddressBook.
For simplicity in later code, we are using camel case for the class name here, with no space between "Address" and "Book". |
Type entries for the Association end name.
Right click on the entries Association end and select the multiplicity 0..*.