File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Static Interface within an Inteface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Static Interface within an Inteface" Watch "Static Interface within an Inteface" New topic
Author

Static Interface within an Inteface

Fawad Ali
Ranch Hand

Joined: Dec 28, 2009
Posts: 112
Hi All,
I have seen a piece of code which is very strange. I need help on that. The code is



I dont know, how it will be implemented. Can anyone show me the implementation or guide me to a study material.

Thanks in advance.


Regards, Fawad Ali.
Software Engineer, Stafona Inc. - My Blog
Fawad Ali
Ranch Hand

Joined: Dec 28, 2009
Posts: 112
Hi I need to add one more thing to the above post. There are static classes too in the interface.

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

http://www.coderanch.com/t/240777/java-programmer-SCJP/certification/motivation-behind-nested-interface
Fawad Ali
Ranch Hand

Joined: Dec 28, 2009
Posts: 112
Hi
I have also found this amazing example at
http://littletutorials.com/2008/03/06/static-nested-interfaces/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Static Interface within an Inteface
 
Similar Threads
A member interface is implicitly static
Static methods in Java Interfaces?
Interface doubt
Interfaces
Inner classes & Interface - Guoqiao's 3rd Mock