Created
March 16, 2017 02:38
-
-
Save carlosmaniero/a3545e148766e6e0c302ab49d6a21e7a 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
public class LambdaExpression { | |
public static void main(String args[]) { | |
TouchMe touchMe = new TouchMe(System.out::println); | |
touchMe.touch(); // 1 | |
touchMe.touch(); // 2 | |
touchMe.touch(); // 3 | |
touchMe.touch(); // 4 | |
touchMe.touch(); // 5 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment