Originally posted by Chandra Bhatt: quote: Every member type declaration appearing within the body of a directly enclosing interface is implicitly static and public.
Please give me example of this statement...
Writing your own example would be great practice.
Define an interface with a member type (class or interface) that is not explicitly static or public. Then write code that demonstrates this member type is static (does not require an instance of the enclosing type) and public (can be accessed from another package).
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org