listing arrays continued return falseelse /found it for(int =jk<nelemsk++/shift down [ka[ + ]nelems--/decrement size return true/end delete(//public void displaya(/displays array contents for(int = <nelemsj++/for each elementa[jdisplayperson()/display it ///end class classdataarray ///////////////////////////////////////////////////////////////class classdataapp public static void main(string[argsint maxsize /array size classdataarray arr/reference to array arr new classdataarray(maxsize)/create the array /insert items arr insert("evans""patty" )arr insert("smith""lorraine" )arr insert("yee""tom" )arr insert("adams""henry" )arr insert("hashimoto""sato" )arr insert("stimson""henry" )arr insert("velasquez""jose" )arr insert("lamarque""henry" )arr insert("vang""minh" )arr insert("creswell""lucinda" )arr displaya()/display items string searchkey "stimson"person found/search for item