This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes interface with a concrete inner class... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "interface with a concrete inner class..." Watch "interface with a concrete inner class..." New topic
Author

interface with a concrete inner class...

vijayender madura
Greenhorn

Joined: Jun 18, 2009
Posts: 13
Hi guys,
i came across an interface with a concrete inner class ...



what does that mean? How do we use the inner class?
Could you please gimme a link/resource where i could read up on that or if any of you guys have the time, could you explain this concept over this thread? Thanks


'Scientia est Potentia'
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4168
    
  21

The inner class in the Interface is always public and static. Which means you can use them like this:


To learn more (well for this specific subject there isn't a whole lot more but...) you can always refer to the Interface section of the JLS


Steve
 
Don't get me started about those stupid light bulbs.
 
subject: interface with a concrete inner class...
 
Similar Threads
Anonymous Inner class extends/implements
anonymous inner class problem
why can you do this ????????
HFEJB - serializable?
interface method confusion