O'Reilly logo
  • Vidhi Shah thinks this is interesting:

a nested interface can be declared public, protected, or private.



A nested interface inside a class can be protected/private.

A nested interface inside an interface must be public.

You can not declare static interface

You can declare static interface inside class or inside interface