Meaningless Drivel is fun!*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes doubt on Inner class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply locked New topic
Author

doubt on Inner class

Syed Naimathullah
Greenhorn

Joined: Feb 18, 2007
Posts: 17
Can their be a static variable in a inner class?
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11175
    
  16

please don't post the same question twice.

In answer to your question - have you tried it?


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
Consider Paul's rocket mass heater.
 
subject: doubt on Inner class
 
Similar Threads
Passing an object to a method.
Private
Inner Classes
Question in K&B Book - protected class
Inner Classes