• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

inner

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I read that non static inner class may have a statics member
What static members??
Thank you in advance.
 
swati bannore
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It Can have static final variables..
Correct me if i am wrong
Thanx
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to add to this disucssion that non-static inner class can inherit static members if needed.
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic