What is the name of the method to print out text in Java?
Unit 2 Quiz review

Quiz
•
Computers
•
12th Grade
•
Hard
Nicholas Savold
Used 4+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
System.out.println()
System.out.printline()
System.output()
System.out.PRINTLN()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following lines? int x = 24; System.out.println("The total is + x + x);
The total is 24
The total is 2424
The total is 48
The total is x + x
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a primitive type?
int
double
String
boolean
char
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of x after this code? int x = 5; x = 10; x = 4;
5
10
4
true
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the proper syntax to initialize a double called temperature to have the value 70.4?
int temperature = 70.4;
double temperature = 70.4;
temperature = 70.4;
float temperature = 70.4;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of this expression? Assume all numbers are int. 5 + 2/3 + 1
5
6
6.67
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which expression returns the 1's place of an integer x?
x % 10
x/10
x % 100
x + 1
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Array

Quiz
•
12th Grade
20 questions
Basic JavaScript Review

Quiz
•
9th - 12th Grade
20 questions
APCSA Arrays

Quiz
•
9th - 12th Grade
22 questions
IST CodeHS Unit 8 JavaScript Review

Quiz
•
9th - 12th Grade
25 questions
Chapter 2 Review

Quiz
•
10th - 12th Grade
20 questions
Dasar Pemrograman

Quiz
•
12th Grade
23 questions
Java conditional/loop/method/user input

Quiz
•
9th - 12th Grade
25 questions
Java Review

Quiz
•
9th Grade - University
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