Creating a Type-Specific List
import java.util.ArrayList; import java.util.List; public class Main { public static void main(String[] argv) { List<Integer> intlist = new ArrayList<Integer>(); intlist.add(new Integer(123)); } }