The document describes a Java program that creates a basic four function calculator. The program prompts the user to enter two numbers and select an operator of addition, subtraction, multiplication, or division. It then uses nested if statements to perform the selected arithmetic operation on the numbers and output the result.