diff --git a/language/oop5/basic.xml b/language/oop5/basic.xml index e5cbac98fa..cffa38ba4b 100644 --- a/language/oop5/basic.xml +++ b/language/oop5/basic.xml @@ -1,5 +1,5 @@ - + The Basics @@ -103,10 +103,10 @@ object(SimpleClass)#1 (1) { classes, a class can only inherit one base class. - The inherited methods and members can be overloaded, unless the parent + The inherited methods and members can be overrided, unless the parent class has defined a method as final, by redeclaring them within the same name defined in the parent class. - It is possible to access the overloaded method or members by + It is possible to access the overrided method or members by referencing them with parent::