• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inner Class Visibility

 
Dave Wingate
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Junilu Lacar
Bartender
Posts: 7480
50
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuage your fear on this

[ April 12, 2002: Message edited by: Junilu Lacar ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic