What modifiers may be used with an inner class that is a member of an outer class?
A (non-local) inner class may be declared as public, protected, private, static, final, or abstract. In Java, an inner class that is a member of an outer class can have various modifiers. The modifiers that can be applied to an inner class include: Access Modifiers: public: The inner class can be accessed from outside the outer class. protected: The inner class … Read more