Expression

Description

A modelization of the Expression interface and it's implemented classes. An Expression can be either an Operator ( +, -, *, etc..) , a Variable or a Number.

Implementation

Implemented in Java, demonstrating the OOP programming model.

Class Diagram

The Minus, Divide, Multiply and Plus are only some of the possible Operator child classes. Due to the nature of the Operator class, many more operator based classes can be implemented. Expression