// Hunter Schafer, CSE 143 // This class is a client that shows off how to use ArrayIntList public class ArrayIntListClient { public static void main(String[] args) { ArrayIntList list = new ArrayIntList(); list.add(1); list.add(2); list.add(3); list.add(4); System.out.println("List: " + list); list.add(1, 15); System.out.println("List: " + list); // A whole different instance of ArrayIntList ArrayIntList list2 = new ArrayIntList(); list2.add(14); list2.add(30); list2.add(3); System.out.println("List2: " + list2); } }