Last active
December 3, 2018 06:46
-
-
Save kasundharmadasa/8f7e86ef7f0a52a7f497b146891bbbc0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.lambdaSample.SampleFunctionalInterface; | |
public class Main { | |
public static void main(String[] args) { | |
SampleFunctionalInterface lambda = s1 -> System.out.println("Hi " + s1); | |
lambda.foo("Alice"); //Output : "Hi Alice" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment