Two Laptop Bag*
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
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.
 
 
subject: can non-static inner class access any member