Hacker News new | past | comments | ask | show | jobs | submit login

> 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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: