diff --git a/doc/site/classes.markdown b/doc/site/classes.markdown index ddb7548f..55a9d3c8 100644 --- a/doc/site/classes.markdown +++ b/doc/site/classes.markdown @@ -221,10 +221,9 @@ value is `null`. ### Encapsulation -All fields are *protected* in Wren—an object's fields can only be -directly accessed from within methods defined on the object's class, or its -superclasses. You cannot even access fields on another instance of your own -class, unlike C++ and Java. +All fields are *private* in Wren—an object's fields can only be directly +accessed from within methods defined on the object's class. You cannot even +access fields on another instance of your own class, unlike C++ and Java. If you want to make a property of an object visible, you need to define a getter to expose it: