listing arrays continued int /loop counter long searchkey/key of item to search for //arr[ /insert items arr[ arr[ arr[ arr[ arr[ arr[ arr[ arr[ arr[ nelems /now items in array //for( = <nelemsj++/display items system out print(arr[ ")system out println("")//searchkey /find item with key for( = <nelemsj++/for each elementif(arr[ =searchkey/found itembreak/yesexit before end if( =nelems/at the endsystem out println("can' find searchkey)/yes else system out println("found searchkey)/no //searchkey /delete item with key for( = <nelemsj++/look for it if(arr[ =searchkeybreakfor(int =jk<nelems- ++/move higher ones down arr[karr[ + ]nelems--/decrement size //for( = <nelemsj++/display items system out printarr[ ")system out println("")/end main(/end class arrayapp