I'm developing a calculator application for a university project. I've encapsulated each calculator operation such as add, multiply, square, etc in separate classes which all have a common superclass. Is this an example of the command or strategy pattern, they seem to be quite similar and I can't decide here.
Thanks.