True or false? The arithmetic operators *, /, %, +, and - all have the same levels of precedence. September 30, 2017 True or false? The arithmetic operators *, /, %, +, and - all have the same levels of precedence. Answer: False
True or false? The remainder operator (%) can be used only with integer operands. September 30, 2017 True or false? The remainder operator (%) can be used only with integer operands. Answer: False
True or false? Java considers the variables number and NuMbEr to be identical. September 30, 2017 True or false? Java considers the variables number and NuMbEr to be identical. Answer: False
True or false? All variables must be given a type when they are declared. September 30, 2017 True or false? All variables must be given a type when they are declared. Answer: True
True or false? Comments cause the computer to print the text after the // on the screen when the program executes. September 30, 2017 True or false? Comments cause the computer to print the text after the // on the screen when the program executes. Answer: False
Methods ______, ______, and ______ display information in a command window. September 30, 2017 Methods ______, ______, and ______ display information in a command window. Answer: System.out.println, System.out.printf
Java applications begin execution at method ______. September 30, 2017 Java applications begin execution at method ______. Answer: Main
______ are reserved for use by Java. September 30, 2017 ______ are reserved for use by Java. Answer: Keywords
______, ______, and ______ are called white space. September 30, 2017 ______, ______, and ______ are called white space. Answer: Space characters, newlines, and tabs
_____ begins and end-of-line comment. September 30, 2017 _____ begins and end-of-line comment. Answer: //
You can use the ______ statement to make decisions. September 30, 2017 You can use the ______ statement to make decisions. Answer: If
A(n) ______ begins the body of every method, and a(n) ______ ends the body of every method. September 30, 2017 A(n) ______ begins the body of every method, and a(n) ______ ends the body of every method. Answer: Left brace, right brace