Crowe LLP interview question

Make a calculator using Java. Explain your thought process behind it