listing continued system out print("showinsertremovechange")int choice getchar()switch(choicecase ' '/show theheap displayheap()breakcase ' '/insert system out print("enter value to insert")value getint()success theheap insert(value)if!success system out println("can' insertheap full")breakcase ' '/remove if!theheap isempty(theheap remove()else system out println("can' removeheap empty")breakcase ' '/change system out print("enter current index of item")value getint()system out print("enter new key")value getint()success theheap change(valuevalue )if!success system out println("invalid index")breakdefaultsystem out println("invalid entry\ ")/end switch /end while /end main(//public static string getstring(throws ioexception inputstreamreader isr new inputstreamreader(system in)bufferedreader br new bufferedreader(isr)string br readline()return