Created
January 30, 2019 18:21
-
-
Save harrisonbrock/e71a3cef853d5995966406388cf9523d 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 static void printList(List<String> list) { | |
for (int index = 0; index < list.size(); index++) { | |
// Get String at index; | |
String name = list.get(index); | |
// print name; | |
System.out.println(name); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment