瀏覽代碼

added uml

Kr Younger 6 年之前
父節點
當前提交
eeb5e14a39
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. 5
    0
      README.md

+ 5
- 0
README.md 查看文件

@@ -17,7 +17,12 @@
17 17
 
18 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 27
 * Create a `PhoneBook` class that holds names and phone numbers.
23 28
 * You can use an [associative data type](https://en.wikipedia.org/wiki/Associative_array) (one which stores items as keys paired with values).