title: Function<String, Consumer<String>> java 8
body: <p>What does this below lambda function do?</p>
  
  <pre><code>public class FunctionInterface {
      public static void main(String[] args) {
  
          Function&lt;String, Consumer&lt;Integer&gt;&gt; secondFunction = s -&gt; x -&gt; System.out.println(x);
  
          System.out.println(secondFunction.apply("Text"));
      }
  }
  </code></pre>
  
  <p>The above code is printing some random value, how to make it print text?</p>