Multiple choice

Which of the following statements is/are true?

i. A local inner class may be final or abstract ii. A local inner class should not be final or abstract iii. A local inner class can only be static iv. A local inner class can have any modifier

  1. Only i.is true

  2. Only ii. is true

  3. Only iii.is true

  4. Only iv. is true

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This answer is correct. A local inner class may only be final or abstract and cannot be static or any other modifier.