I have a question about local classes in Java (classes that declares in the method or in blocks bounded by { }).
Is there any reason not to declare local class as final? We cannot inherit other class from local class (if it's not defined at the same scope), but when we declare it as final, maybe compiler can make code much simpler?
Thank you!