File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Static inner class inside Interface!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Static inner class inside Interface!!" Watch "Static inner class inside Interface!!" New topic

Static inner class inside Interface!!

Rajendra Deshpande
Ranch Hand

Joined: Nov 24, 2000
Posts: 40
Can static inner classes be part of an Interface and of what significance is such a class.
thanks and regards,
Avikal Dixit

Joined: Dec 24, 2000
Posts: 2
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?
It is sorta covered in the JavaRanch Style Guide.
subject: Static inner class inside Interface!!
Similar Threads
Inner class
What class must an inner class extend ?
member interface
This program is going to print Inner created. please explain "new Seputura.Inner();" how it works
Declaration and Access confusion...