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
QUIZ-5 static, String and StringBuffer

Quiz
•
Professional Development
17 questions
Java Basics

Quiz
•
Professional Development
20 questions
JS - Practice 1

Quiz
•
Professional Development
20 questions
PL SQL

Quiz
•
University - Professi...
20 questions
VCE TalentNext-2021 Quiz-2

Quiz
•
Professional Development
20 questions
Round-1 Technical Aptitude

Quiz
•
11th Grade - Professi...
20 questions
Data Structure

Quiz
•
Professional Development
20 questions
Pre-Assessment: Java Basics

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade