" You can study and learn programming as you wish in the content of this website. ">
 

Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java "->"

interface LambdaFunction {
    void call();
}
class FirstLambda {
    public static void main(String []args) {
        LambdaFunction lambdaFunction = () -> System.out.println("Hello world");
        lambdaFunction.call();
    }
}
Source by dzone.com #
 
PREVIOUS NEXT
Tagged: #java
ADD COMMENT
Topic
Name
4+4 =