Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java lambda expressions

//* No Parameter Syntax
() -> {  
//Body of no parameter lambda  
}

//* One Parameter Syntax
(p1) -> {  
//Body of single parameter lambda  
}  
 
PREVIOUS NEXT
Tagged: #java #lambda #expressions
ADD COMMENT
Topic
Name
6+2 =