Basic and Advance Java Question:

What modifiers may be used with an inner class that is a member of an outer class in Java Programming?

Java Interview Question
Java Interview Question

Answer:

A (non-local) inner class may be declared as public, protected, private, static, final, or abstract.


Previous QuestionNext Question
What is the Vector class in Java Programming?If a method is declared as protected, where may the method be accessed in Java Programming?