posted 21 years ago
An interface is not part of the class hierarchy - unrelated classes can implement the same interface. Top-level interfaces have default package access (like top-level classes). Only public and strictfp modifiers are allowed for top-level interfaces (abstract is also allowed but discouraged by the JLS).
However, a member interface may be protected or private, but only if declared in a top-level class.
SCJP 1.4, SCWCD 1.3, SCBCD 1.3