Since you cannot define methods in interfaces, you cannot have local classes or interfaces inside an interface.
- Chapter 3: Advanced Class Design
- from Oracle Certified Professional Java SE 8 Programmer Exam 1Z0-809: A Comprehensive OCPJP 8 Certification Guide
- Publisher: Apress
- Released: January 2016
you can create class in static and default methods of interface.
Share this highlighthttp://www.safaribooksonline.com/a/oracle-certified-professional/21278058/