This discussion is archived
3 Replies Latest reply: Mar 14, 2007 3:33 AM by 807596 RSS

Outer Class Accessing Inner Classes Variables

807596 Newbie
Currently Being Moderated
Hi Everyone,

Should an outer class directly access the private member variables of its inner class? Or should it get their values by calling an appropriate 'getXXX()' method?

Just wondering.

Thx.