character read from infix infix parsed so far postfix written so far aa if stack emptypush opthis * *push on stack *( ab *write operand to postfix *(bab stack not emptyso pop item *(bab *it' (so push it *(bab *(then push opthis *( + abc *(write operand to postfix *( +cabc*pop itemwrite to output *( +cabcquit popping if *( +cabc+end stack contents rule write operand to postfix pop leftover itemoutput it java code to convert infix to postfix listing shows the infix java programwhich uses the rules of table to translate an infix expression to postfix expression listing the infix java program /infix java /converts infix arithmetic expressions to postfix /to run this programc>java infixapp import java io */for /