• Post Reply Bookmark Topic Watch Topic
  • New Topic

Nested Interface problem  RSS feed

 
galven wing
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
who can tell me the difference between the inner interface is declared static and non-static?
thanks
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An inner interface is always static. You can explicitly declare it to be static if you like, but that doesn't change anything. This is similar to the way you can declare interface methods to be public, if you like, but even if you don't, they're still public.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!