Along with lambdas, Java SE 8 brought method references to the Java language. This tutorial offers a brief overview of method references in Java, then gets you started using them with Java code ...
System.out.println("An integer "+"x has value "+x);// + is used to print or add multiple statements to the print method ...