binary trees listing continued else system out print("could not find ")system out print(value '\ ')breakcase ' 'system out print("enter value to delete")value getint()boolean diddelete thetree delete(value)if(diddeletesystem out print("deleted value '\ ')else system out print("could not delete ")system out print(value '\ ')breakcase ' 'system out print("enter type or ")value getint()thetree traverse(value)breakdefaultsystem out print("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 /public static char getchar(throws ioexception string getstring()return charat( )//public static int getint(throws ioexception