Created
March 3, 2018 17:16
-
-
Save gogeta95/031cf5ffaabbaba824aa6442758ac554 to your computer and use it in GitHub Desktop.
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
public List<Integer> getThem(List<Integer> theList) { | |
List<Integer> list1 = new ArrayList<Integer>(); | |
for (Integer i : theList) | |
if (i%2 == 0) | |
list1.add(i); | |
return list1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment