Skip to content

Instantly share code, notes, and snippets.

@reime005
Created December 27, 2020 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reime005/302a862680f6c3164d32701ae25df1bf to your computer and use it in GitHub Desktop.
Save reime005/302a862680f6c3164d32701ae25df1bf to your computer and use it in GitHub Desktop.
import java.util.*;
List<String> stringList = new ArrayList<String>();
stringList.add("0");
stringList.add("1");
stringList.add("2");
stringList.add("3");
stringList.add("4");
for (String el : stringList) {
System.out.println(el);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment