Java Developer Question:
Download Questions PDF

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

Java Developer Interview Question
Java Developer Interview Question

Answer:

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

Download Java Developer Interview Questions And Answers PDF

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