Terminal Expression (Number):?
- The Number class is a terminal expression that holds a single value. When
the Interpret method is called, it returns the value of the number.
- Terminal expressions represent the simplest elements in the language or
grammar.