18
Sure.. Look at SOURCE CODE for java.util.Map interface. Map interface contains a nested Entry interface.
Interestingly, in the source code it simply says
interface Entry <K,V> {
..
}
but the javadoc says
public static interface Map.Entry<K,V>
I guess this is because nested interfaces are implicitly "public static" even though the source code doesn't say that. (But methods inside an interface are implicity public, and cannot be static,that is, only instance methods are permitted in interfaces).
-dbednar 2013-07-02