Saint Mary’s University
Department of Mathematics and Computing Science
CSC 465.2: Principles of Object-Oriented Programming
WINTER 2000-2001

Assignment #2

Instructor: Dr. Pawan Lingras

Due Date: January 19, 2001

You can find the relevant classes in the demo directory. Load them into Java workshop to find out about the members.

Use Vector and Stack classes from Java library to implement a class called PostFixCalculator to evaluate postfix expressions.

Your class must have

Valid operators are: +, -, /, X, ^

You are expected to use command line arguments for the input.