Created
April 18, 2018 20:39
-
-
Save matthesrieke/2a6fcb35b2dbb6296ffac2c580913968 to your computer and use it in GitHub Desktop.
Java8Environment.java
This file contains hidden or 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 java.util.Arrays; | |
import java.util.List; | |
public class Java8Environment { | |
public static void main(String[] args) { | |
List<String> testList = Arrays.asList(new String[] {"a", "b", "c"}); | |
testList.stream().forEach(s -> { | |
System.out.print(s); | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment