diff --git a/language/oop5/visibility.xml b/language/oop5/visibility.xml index b86b2c1396..dc5fc39b21 100644 --- a/language/oop5/visibility.xml +++ b/language/oop5/visibility.xml @@ -1,13 +1,13 @@ - + Visibility The visibility of a property or method can be defined by prefixing the declaration with the keywords: public, protected or private. Public declared items can be accessed everywhere. Protected limits access to - inherited classes (and to the class that defines the item). Private limits - visibility only to the class that defines the item. + inherited and parent classes (and to the class that defines the item). + Private limits visibility only to the class that defines the item. Members Visibility