This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes can non-static inner class access any member Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "can non-static inner class access any member " Watch "can non-static inner class access any member " New topic
Author

can non-static inner class access any member

Sudhir Thorat
Greenhorn

Joined: Dec 27, 2000
Posts: 5
of the super class of the enclosing class?
ali farid
Ranch Hand

Joined: Aug 26, 2000
Posts: 60
i think only non-static members
Sivaram Ghorakavi
Ranch Hand

Joined: Nov 30, 2000
Posts: 56
Yes It can access any member variable from enclosing class.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: can non-static inner class access any member
 
Similar Threads
Doubt about diagram class (realization)
WA #1.....word association
Math class immutable
andrew has wii
Doubt about diagram class