| Term | Definition |
| put before the class statement when user input is necessary in a program | import java.util.Scanner; |
| begins an end-of-line-comment | forward slash ( // ) |
| Every statement ends with a | semi-colon ( ; ) |
| Java applications begin execution at method main | public static void main(String args[ ]); |
| prints a single line | System.out.print(" "); |
| prints a single line that is also "entered down" a line | System.out.println(" "); |
| The arithmetic operators +, /, %, * and – go in order of | operations: 1. * 2. / 3. % 4. + 5. - |
| prints a formatted line | System.out.printf(" "); |
| create Scanner to obtain input from command window | Scanner input = new Scanner(System.in); |
| to create a variable upon the opening of the method (with type int): | int num1; |
| read first number from user | num1 = input.nextInt( ); |
| Store first integer entered into smallest | smallest = num1; |
| //make smallest the smallest of these | if(number2 < smallest) smallest = number2; |