public class NumberList { protected int[] list; // list of values being stored protected int number, max; // current size of list, maximum size of list public NumberList() // no arg constructor, assume max of 100 { list=new int[100]; max=100; number=0; } public NumberList(int size) // Constructor uses parameter to establish maximum size { list=new int[size]; max=size; number=0; } public void add(int x) // insert x at the end of the array at location number { if(number=0&&x=0&&x