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

Since you cannot define methods in interfaces, you cannot have local classes or interfaces inside an interface.

From

Note

you can create class in static and default methods of interface.