Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


difference between final and effectively final


difference between final and effectively final  using -'java,lambda,inner-classes,final,java-8'

I'm playing with lambdas in Java 8 and I came across warning local variables referenced from a lambda expression must be final or effectively final. I know that when I use variables inside anonymous class they must be final in outer class, but still - what is the difference between final and effectively final?
    

asked Sep 16, 2015 by ankitarajoria4
0 votes
4 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...