listing continued public string getlast(/get last name return lastname/end class person ///////////////////////////////////////////////////////////////class classdataarray private person[ /reference to array private int nelems/number of data items public classdataarray(int max/constructor new person[max]/create the array nelems /no items yet //public person find(string searchname/find specified value int jfor( = <nelemsj++/for each elementifa[jgetlast(equals(searchname/found itembreak/exit loop before end if( =nelems/gone to endreturn null/yescan' find it else return [ ]/nofound it /end find(///put person into array public void insert(string laststring firstint agea[nelemsnew person(lastfirstage)nelems++/increment size //public boolean delete(string searchname/delete person from array int jfor( = <nelemsj++/look for it ifa[jgetlast(equals(searchnamebreakif( ==nelems/can' find it