This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Member Interfaces are never INNER. Member interfaces are always implicitly static.
You are confusing me .... interface means abstract ( nothing is concrete ) ( and they are impicitly public & abstract ) and abstract & static can't live simulteanously ....
Please solve my doubt ...
Joined: Jan 11, 2005
Methods declared in an interface are implicitly public and abstract. These methods cannot have modifiers such as static/native/synchronized/strictfp.
Fields (member variables) in an interface are implcitly public static final.
When you consider modifiers for interface itself, they can be private/protected for Nested interfaces. Nested interfaces are implicitly static. You cannot apply private/protected/static for top-level interfaces.