Search:

Type: Posts; User: cscstudent

Search: Search took 0.11 seconds.

  1. Replies
    8
    Views
    5,716

    Re: Infix to Prefix

    sorry the error occurs at:


    finalResult = solution.pop(); //line 147

    //........

    int result= calculate(output); //line 251
  2. Replies
    8
    Views
    5,716

    Infix to Prefix

    Hi i keep receiving the error:

    Exception in thread "main" java.util.EmptyStackException
    at java.util.Stack.peek(Stack.java:85)
    at java.util.Stack.pop(Stack.java:67)
    at...
Results 1 to 2 of 2