Method calls vs lambda calls

Alex Blewitt alex.blewitt at gmail.com
Mon Dec 14 12:07:30 PST 2009


public class Example {
   public int fortyTwo() {
     return 6*9;
   }
   public void run() {
     System.out.println(fortyTwo())
     #int() fortyTwo = #int() { return 42; }
     System.out.println(fortyTwo())
   }
}

What's the result on the output here? 


More information about the lambda-dev mailing list