listing arrays continued public void insert(long value/put element into array int jfor( = <nelemsj++/find where it goes if( [jvalue/(linear searchbreakfor(int =nelemsk>jk--/move bigger ones up [ka[ - ] [jvalue/insert it nelems++/increment size /end insert(//public boolean delete(long valueint find(value)if( ==nelems/can' find it return falseelse /found it for(int =jk<nelemsk++/move bigger ones down [ka[ + ]nelems--/decrement size return true/end delete(//public void display(/displays array contents for(int = <nelemsj++/for each elementsystem out print( [ ")/display it system out println("")///end class ordarray ///////////////////////////////////////////////////////////////class orderedapp public static void main(string[argsint maxsize /array size ordarray arr/reference to array