A local inner class can access which type of local variables?
D.
A local inner class can access final or effectively final local variables.
Option D is the correct answer.
The second statement is invalid because access modifiers like private cannot be applied to local variables.