// Design your own Array Class import java.io.*; class arrays2 { int[] ar = new int[5]; int ct = 0; private void doublesize() {int b[] = new int[ar.length * 2]; for (int x=0; x < ar.length; x++) b[x] = ar[x]; ar = b; } public void enter(int n) {if (ct == ar.length) increase(); ar[ct] = n; ct++; } public void print() {} public void printreverse() {} public void delete(int n) {} public int smallest() {} public int biggest() {} public void sort() {} public boolean inThere(int n) {} public int location(int n) {} }