jQuery in Action, 3rd edition
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Inner Class Visibility Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Inner Class Visibility" Watch "Inner Class Visibility" New topic

Inner Class Visibility

Dave Wingate
Ranch Hand

Joined: Mar 26, 2002
Posts: 262
I'm having self doubts about this; could someon assuage my fears or set me straight.
Is it the case that an enclosing class will always have access to the (private) members of its inner class. In otherwords, variable visibility for outer/inner classes is only an issue when trying to access the members of the enclosing class from the inner class.
Is my thinking about this correct?

Fun programming etcetera!
Junilu Lacar

Joined: Feb 26, 2001
Posts: 6529

Assuage your fear on this

[ April 12, 2002: Message edited by: Junilu Lacar ]

Junilu - [How to Ask Questions] [How to Answer Questions]
I agree. Here's the link: http://aspose.com/file-tools
subject: Inner Class Visibility
jQuery in Action, 3rd edition