Skip to content

Instantly share code, notes, and snippets.

@claymccoy
Created August 18, 2008 15:11
Show Gist options
  • Save claymccoy/5979 to your computer and use it in GitHub Desktop.
Save claymccoy/5979 to your computer and use it in GitHub Desktop.
import java.util.ArrayList;
import java.util.List;
public class abc {
public static void main(String[] args) {
List<String> abc = new ArrayList<String>();
abc.add("a");
abc.add("b");
abc.add("c");
for (String s : abc) {
System.out.println(s);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment