|
@@ -19,9 +19,12 @@
|
19
|
19
|
|
20
|
20
|
![PhoneBookDesign](./PhoneBookUML.png)
|
21
|
21
|
|
|
22
|
+In this diagram, C stands for Class, f stnads for field, and m stands for method.
|
|
23
|
+So, it can give you a specification for the class and the things it needs to do.
|
|
24
|
+
|
22
|
25
|
* Create a `PhoneBook` class that holds names and phone numbers.
|
23
|
26
|
* You can use an [associative data type](https://en.wikipedia.org/wiki/Associative_array) (one which stores items as keys paired with values).
|
24
|
|
-* **Hint:** You should use a sorted map.
|
|
27
|
+* **Hint:** You should use a sorted map from the java standard library.
|
25
|
28
|
|
26
|
29
|
|
27
|
30
|
* Your PhoneBook class should have the following method
|