Programming Keywords
Terms
undefined, object
copy deck
- boolean
- primitive type for true and false
- nextInt
- Scanner method for reading an int
- char
- primitive type for characters
- public class
- used to begin a class
- double
- primitive type for real numbers
- for
- a loop typically used to count from one number to another
- public static final
- used for declaring class constants
- public static void
- used to begin a method
- int
- a primitive type for integers
- Scanner
- used for reading input from the keyboard
- main
- the method that starts a Java program
- System.out.print
- prints output without a newline
- nextDouble
- Scanner method for reading a double
- System.out.println
- prints output followed by a newline