|
@@ -25,17 +25,17 @@ Your PhoneBook class should have the following method
|
25
|
25
|
* Sample Script
|
26
|
26
|
|
27
|
27
|
```java
|
28
|
|
-PhoneBook phoneBook = new PhoneBook();
|
29
|
|
-phoneBook.add("Zebra", "111-222-333");
|
30
|
|
-phoneBook.add("Dog", "222-444-4444");
|
31
|
|
-phoneBook.display();
|
|
28
|
+ PhoneBook phoneBook = new PhoneBook();
|
|
29
|
+ phoneBook.add("Zebra", "111-222-333");
|
|
30
|
+ phoneBook.add("Dog", "222-444-4444");
|
|
31
|
+ phoneBook.display();
|
32
|
32
|
```
|
33
|
33
|
|
34
|
34
|
* Sample Output
|
35
|
35
|
|
36
|
36
|
```
|
37
|
|
-Dog 222-444-4444
|
38
|
|
-Zebra 111-222-333
|
|
37
|
+ Dog 222-444-4444
|
|
38
|
+ Zebra 111-222-333
|
39
|
39
|
```
|
40
|
40
|
|
41
|
41
|
|