Version française
Home     About     Download     Resources     Contact us    
Browse thread
accessing values of a class from another instance
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Shaddin Doghmi <shaddin@m...>
Subject: accessing values of a class from another instance
It seems instance variables of an object are not accessible from other
objects that are instances of the same class. What is a nice way to
simulate this functionality? I would like to avoid accessor methods for
the class variables since I want to hide the variables from anything
outside the class.