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

Assignment #3

Instructor: Dr. Pawan Lingras

Due Date: February 7, 2001

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

Derive a new class from PostfixCalculator called Calculator to evaluate infix expressions.
The class will override the functions isOperator and evaluate. You are expected to minimize additional coding.
You will need additional private functions such as buildPostFix, comingPriority, stackPriority. Check the demo.