Yes. "Kind of" is the right term. In Smalltalk, an object cannot  
access variables of another instance of the same class. Whereas in  
Java this is allowed.

Cheers,
Alexandre

On 21 Oct 2009, at 09:59, Gerben van de Wiel wrote:

> Thank you very much, if i understand it correctly then instance vars
> in SmallTalk are "kind of" protected members in languages like Java
> and C#?
>
> Regards,
> Gerben
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to