CS 112b
Spring 1999
Ileana Streinu

Evaluating a Postfix expression using a stack



Click on buttons to initialize an arithmetic expression, and to see its step by step evaluation on a stack. Look on the Java console.

The New button loops through a predefined set of arithmetic expressions: you can see them on the Java console.


The Java code.