This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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: 3969
    
  17

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: interface with a concrete inner class...
 
Similar Threads
why can you do this ????????
HFEJB - serializable?
interface method confusion
anonymous inner class problem
Anonymous Inner class extends/implements