title: Java8: Lambda expression not expected here
body: <p>I am trying to learn Java8 and have tried following example. </p>
  
  <p>I am getting a compilation error for this code. Can you please help me to resolve this issue.</p>
  
  <pre><code>public class Lambdas {
  
      public static void main(String[] args) {
          System.out.println("Result Of Comparision" + () -&gt; Integer.compare("First".length(), "Second".length()));
      }
  }
  </code></pre>