diff --git a/data/part-9/1-inheritance.md b/data/part-9/1-inheritance.md index bdbc065c1..b586f4c03 100644 --- a/data/part-9/1-inheritance.md +++ b/data/part-9/1-inheritance.md @@ -1454,7 +1454,7 @@ The exercise template contains a class `Warehouse`, which has the following cons -- **public Warehouse(double capacity)** - Creates an empty warehouse, which has the capacity provided as a parameter; an invalid capacity (<=0) creates a useless warehouse, with the the capacity 0. +- **public Warehouse(double capacity)** - Creates an empty warehouse, which has the capacity provided as a parameter; an invalid capacity (<=0) creates a useless warehouse, with the capacity 0. - **public double getBalance()** - Returns the balance of the warehouse, i.e. the capacity which is taken up by the items in the warehouse.