my dog learned polymorphism
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?
I agree. Here's the link:
subject: Static inner class inside Interface!!
It's not a secret anymore!