a nested interface can be declared public, protected, or private.
- 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
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
Share this highlighthttp://www.safaribooksonline.com/a/oracle-certified-professional/21278367/