diff --git a/language/oop5/visibility.xml b/language/oop5/visibility.xml index 7b716e8c2c..b03d50486c 100644 --- a/language/oop5/visibility.xml +++ b/language/oop5/visibility.xml @@ -5,9 +5,9 @@ The visibility of a property or method can be defined by prefixing the declaration with the keywords: public, protected or - private. Class properties declared public can be accessed - everywhere. Properties declared protected can be accessed only within - the class itself and by inherited and parent classes. Properties + private. Class members declared public can be accessed + everywhere. Members declared protected can be accessed only within + the class itself and by inherited and parent classes. Members declared as private may only be accessed by the class that defines the member.