title: Does Java 8 Support Closures?
body: <p>I'm confused. I thought Java 8 was going to emerge from the stone age and start supporting lambdas/closures. But when I try this:</p>
  
  <pre><code>public static void main(String[] args) {
      int number = 5;
  
      ObjectCallback callback = () -&gt; {
          return (number = number + 1);
      };
  
      Object result = callback.Callback();
      System.out.println(result);
  }
  </code></pre>
  
  <p>...it says that <code>number should be effectively final</code>. That's uh, not a closure I think. That just sounds like it's copying the environment by value, rather than by reference.</p>
  
  <p><strong>Bonus question!</strong></p>
  
  <p>Will Android support Java 8 features?</p>