JOptionPane is a class which allows us to display a message dialog box.
Comments are printed on the screen when the program is executed.
The statement System.out.println("Spoke\n"); causes the following to be displayed:
Spoke\n
A variable can be declared after it is used.
All variables that are used must be declared.
All variables must be given a type when they are declared.
The quotient “/” and modulus “%” operators both do the same operation - divide a number.
The “+” and “-” operators have the same precedence.
The “+” operator has greater precedence than the “*” operator.
Logic errors are reported by the compiler.