Przeglądaj źródła

Update README.md

Git-Leon 7 lat temu
rodzic
commit
9f1293ca02
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      README.md

+ 1
- 1
README.md Wyświetl plik

@@ -151,7 +151,7 @@
151 151
 * To remedy this issue, we can _generify_ the `People` class.
152 152
 
153 153
 ### Part 10.1 - Modify `People` class
154
-* [Parameterize](https://stackoverflow.com/questions/12551674/what-is-meant-by-parameterized-type) the `People` signature to enfore that it is a container for objects of type `E` such that `E` is a subclass of `Person`.
154
+* [Parameterize](https://stackoverflow.com/questions/12551674/what-is-meant-by-parameterized-type) the `People` signature to enforce that it is a container for objects of type `E` such that `E` is a subclass of `Person`.
155 155
 * Modify `people` field to enforce that is a container of objects of type `E`.
156 156
 * Modify the `add` method to ensure that it handles object of type `E`.
157 157
 * Modify the `getArray` method to ensure that it returns an object of type `E[]`.