From a59991c41159785ccc1936689c2abf56b7277597 Mon Sep 17 00:00:00 2001 From: Daniel Lee <115248908+Linielt@users.noreply.github.com> Date: Sat, 24 Feb 2024 21:35:05 +0000 Subject: [PATCH] Fix typo in Part 6, Height Order, Part 1 --- data/part-6/1-objects-within-objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.