diff --git a/data/part-6/1-objects-within-objects.md b/data/part-6/1-objects-within-objects.md index 253fb8254..835ab9ed8 100644 --- a/data/part-6/1-objects-within-objects.md +++ b/data/part-6/1-objects-within-objects.md @@ -1764,7 +1764,7 @@ The class should eventually work in the following way. Create `Room` class. The class should contain a list of persons as an instance variable, and it should have a parameterless constructor. In addition, add the following methods to the class: -- `public void add(Person person)` - add the person passed as a paramter to the list. +- `public void add(Person person)` - add the person passed as a parameter to the list. - `public boolean isEmpty()` - returns a `boolean`-type value `true` or `false`, that tells whether the room is empty or not.