Every complete statement ends with a:
Java Chapter 2 Review Questions

Quiz
•
Computers
•
Professional Development
•
Medium
Alejandro Hidalgo
Used 3+ times
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
period
parenthesis
semicolon
ending brace
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following data
72
'A'
"Hello World"
2.8712
are all examples of:
variables
literals
strings
none of these
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A group of statements, such as the contents of a class or a method, are enclosed in
braces {}
parentheses ()
brackets []
any of these will do
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following are not valid assignment statements?
(include all that apply)
total = 9;
72 = amount;
profit = 129
letter = 'W';
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following are not valid println statements?
(Indicate all that apply.)
System.out.println + "Hello World";
System.out.println("Have a nice day");
out.System.println(value);
println.out(Programming is great fun);
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The negation operator is
unary
binary
ternary
none of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This keyword is used to declare a named constant.
constant
namedConstant
final
concrete
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
SPARK FIDDLE

Quiz
•
Professional Development
17 questions
Java programming

Quiz
•
Professional Development
17 questions
Lección1 - JavaScript

Quiz
•
1st Grade - Professio...
20 questions
Data Structures

Quiz
•
University - Professi...
20 questions
Java Chapter 5 Review Questions

Quiz
•
Professional Development
22 questions
Python basics

Quiz
•
Professional Development
23 questions
msp quiz

Quiz
•
University - Professi...
20 questions
C-Quest

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade