Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java local function

Function<String, String> trible = s -> s+s+s;
System.out.println(trible.apply("X"));           // prints XXX
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #local #function
ADD COMMENT
Topic
Name
5+9 =