Crowe LLP Interview Question

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