// Allison Obourn // CSE 143 - lecture 2 // Client program to test the ArrayIntList functionality public class ArrayIntListClient { public static void main(String[] args) { ArrayIntList a = new ArrayIntList(); // a.elementData[0] = 4; // not the object-oriented way! // a.size++; // this should always happen when an element is added // a.size = -9999; // fields should be private to guard against bad // clients a.add(4); System.out.println(a); } }