ZZZ (Duplicate) - Which of the following are true about local inner classes?

  1. They are not associated with any instance of an outer class

  2. They may access final initialized variables and parameters that are in the scope of the statement block in which the class is declared

  3. They may be declared public, protected or private

  4. They may not implement an interface


Correct Option: D

Find more quizzes: