public class data2 { public data2(String f, String l, String p, int [] a, int c) {first = f; last = l; phone = p; int [] t = new int[c]; for (int x=0; x < c; x ++) t[x] = a[x]; ar = t; ct = c; } private String first; private String last; private String phone; private int [] ar; private int ct; public String getFirst() {return first; } public String getLast() {return last; } public String getPhone() {return phone; } public int getCt() {return ct; } public int[] getGrades() {return ar; } } ***************************************************************************** import java.io.*; import java.util.ArrayList; public class arrayListHelper { ArrayList list = new ArrayList(); public void enter(String f, String l, String p, int [] ar,int ct) {int t[] = new int[ct]; // have to set aside space for each new array for (int x=0;x < ct; x++) // copy incoming array t[x] = ar[x]; data2 cl= new data2(f,l,p,ar,ct); list.add(cl); } public data2 getitem(int n) // get an object - cast it to specific object {Object o= list.get(n); data2 d = (data2) o; return d; } public String getPhone(String l) // returns phone number {} public double getAvg(String l) // gets average for a particular person {} public void delete(String l) {} public void printHonors() // print all kids with honors {} public void printAll() {} }