Assuming we have an object inside an object, inside another object, what is the best way to retrieve the value of a private variable outside the two objects? The simplest way seems to be to do something like this: object1.object2.object3.getvalue(); Is this acceptable? Or would it be better to call a method which calls a […]
The post Referring to Object of Object of Object appeared first on BlogoSfera.