Quantcast
Channel: BlogoSfera » seems
Viewing all articles
Browse latest Browse all 27

Referring to Object of Object of Object

$
0
0

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.


Viewing all articles
Browse latest Browse all 27

Trending Articles