Skip to content

Commit 9f1293c

Browse files
authored
Update README.md
1 parent 627035f commit 9f1293c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
* To remedy this issue, we can _generify_ the `People` class.
152152

153153
### 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`.
155155
* Modify `people` field to enforce that is a container of objects of type `E`.
156156
* Modify the `add` method to ensure that it handles object of type `E`.
157157
* Modify the `getArray` method to ensure that it returns an object of type `E[]`.

0 commit comments

Comments
 (0)