aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes inner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "inner" Watch "inner" New topic
Author

inner

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi!
I read that non static inner class may have a statics member
What static members??
Thank you in advance.
swati bannore
Ranch Hand

Joined: Oct 18, 2000
Posts: 201
It Can have static final variables..
Correct me if i am wrong
Thanx


Swati Kale
SCJP
SCWCD
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Non-Static Inner Classes cannot have Static members. I agree with Swati.
Toying around with this code might help.


Shyam
[This message has been edited by Shyamsundar Gururaj (edited September 12, 2001).]
Bindesh Vijayan
Ranch Hand

Joined: Aug 21, 2001
Posts: 104
I want to add to this disucssion that non-static inner class can inherit static members if needed.
Thanks
 
 
subject: inner
 
Similar Threads
Question about static class
is inner class can be static . what is the purpose of inner class ??
Member class can have static variables??
doubt on Inner class
Top-level classes