listing continued breakcase '*'interans num num breakcase '/'interans num num breakdefaultinterans /end switch thestack push(interans)/push result /end else /end for interans thestack pop()/get answer return interans/end doparse(/end class parsepost ///////////////////////////////////////////////////////////////class postfixapp public static void main(string[argsthrows ioexception string inputint outputwhile(truesystem out print("enter postfix")system out flush()input getstring()/read string from kbd ifinput equals(""/quit if [enterbreak/make parser parsepost aparser new parsepost(input)output aparser doparse()/do the evaluation system out println("evaluates to output)/end while /end main(//public static string getstring(throws ioexception