class NoDupArray { private long[] a;//ref to array a private int nEliments;//number of data items public NoDupArray(int max) {//constructor a = new long[max]; nEliments = 0; } public boolean find(long SearchKey) {//find specified value for (int i = 0; i < nEliments; i++) { if (a[i] == SearchKey) { return true; } } return false; }// end find() public void insert(long value) {//put element into array if (this.nEliments == this.a.length) { System.out.println("array is full"); } else { if (find(value)) { System.out.println("value allready exist"); } else { a[this.nEliments] = value; this.nEliments++; } } }//end insert() public boolean delete(long value) {//delete the element if it found for (int i = 0; i < this.nEliments; i++) { if(this.a[i]== value){ for(int j=i;j