Break OO privacy: Difference between revisions
→{{header|Oforth}}
(→{{header|Scala}}: Take away some boilerplate) |
|||
Line 802:
Hello, I am Edith
</pre>
=={{header|Oforth}}==
In Oforth, all attributes are private.
There is no other way to access attributes values from outside but to call methods on the object.
=={{header|Perl}}==
|