Skip to content

Instantly share code, notes, and snippets.

@harrisonbrock
Created January 30, 2019 18:19
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 harrisonbrock/fc6d8a02a13311ee81173982bc5acc37 to your computer and use it in GitHub Desktop.
Save harrisonbrock/fc6d8a02a13311ee81173982bc5acc37 to your computer and use it in GitHub Desktop.
import java.util.ArrayList;
import java.util.List;
public class Main {
public static void main(String[] args) {
List<String> names = new ArrayList<>();
names.add("Harry");
names.add("John");
names.add("Bill");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment