This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Static inner class inside Interface!!

 
Rajendra Deshpande
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can static inner classes be part of an Interface and of what significance is such a class.
thanks and regards,
-Rajendra.
 
Avikal Dixit
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well I have same kind of question hovering in my mind, cause, as far as i know interfaces have only methods that are also code less. In any case i was thinking where will I place inner classes. in side a method(they have no code remember) or inside any other {}. Please let us know?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic