Browse Source

added uml

Kr Younger 5 years ago
parent
commit
eeb5e14a39
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      README.md

+ 5
- 0
README.md View File

17
 
17
 
18
 ### Building a basic `PhoneBook` class
18
 ### Building a basic `PhoneBook` class
19
 
19
 
20
+### Building a basic `PhoneBook` class
21
+
22
+![PhoneBookDesign](./PhoneBookUML.png)
20
 
23
 
24
+In this diagram, C stands for Class, f stands for field, and m stands for method.
25
+So, it can give you a specification for the class and the things it needs to do.
21
 
26
 
22
 * Create a `PhoneBook` class that holds names and phone numbers.
27
 * Create a `PhoneBook` class that holds names and phone numbers.
23
 * You can use an [associative data type](https://en.wikipedia.org/wiki/Associative_array) (one which stores items as keys paired with values).
28
 * You can use an [associative data type](https://en.wikipedia.org/wiki/Associative_array) (one which stores items as keys paired with values).