Help the world stop coronavirus! Stay home!

Prev Next

Java / Local Variables

Can a local class access the variables from enclosing block in Java?

Yes. From Java 8, local variables are accessible from local class that are final or effectively final. Prior to Java 8, it allowed only final variables.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...


Comments & Discussions