Dear all I am new register member As I am writting a program which need to convert an expression from infix/postfix to prefix This case with some condition where it can specific '(' and ')' operator and two digits value. I prefer the method will be like this Code: public static String toPrefix(String inputfix) // which inputfix can be infix or postfix{ ... return prefix; } Could it be using Stack? I am green Thx a lot..hope for reply..