arr setelem( )arr setelem( )arr setelem( )arr setelem( )arr setelem( )arr setelem( )arr setelem( )nelems /now items in array //for( = <nelemsj++/display items system out print(arr getelem( ")system out println("")//int searchkey /search for data item for( = <nelemsj++/for each elementif(arr getelem( =searchkey/found itembreakif( =nelems/no system out println("can' find searchkey)else /yes system out println("found searchkey)///delete value for( = <nelemsj++/look for it if(arr getelem( = breakfor(int =jk<nelemsk++/move higher ones down arr setelem(karr getelem( + )nelems--/decrement size //for( = <nelemsj++/display items system out printarr getelem( ")system out println("")/end main(/end class lowarrayapp the output from this program is similar to that from array javaexcept that we try to find non-existent key value ( before deleting the item with the key value can' find