6 ms·
> An anonymous class cannot access local variables in its enclosing scope that are not declared as final or effectively final. So no, Java didn’t have this pro
by kaba0 3y ago
> An anonymous class cannot access local variables in its enclosing scope that are not declared as final or effectively final.
So no, Java didn’t have this problem.