/end find(//public void insert(double valueint jfor( = <nelemsj++if( [jvaluebreakfor(int =nelemsk>jk-- [ka[ - ] [jvaluenelems++/end insert(/put element into array /find where it goes /(linear search/move higher ones up /insert it /increment size //public boolean delete(double valueint find(value)if( ==nelems/can' find it return falseelse /found it for(int =jk<nelemsk++/move higher 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 arr new ordarray(maxsize)/create the array