Organizational Research By

Surprising Reserch 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 param.oncemore
0 votes
2 views



Related Hot Questions



Government Jobs Opening


...