What type of language is Java?
Basic Java Quiz

Quiz
•
Computers
•
University
•
Medium

Stacey Do
Used 18+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Object Oriented
Scripting
Assembly
Pseudocode
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of an int variable in Java?
0
1
null
-1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to create an object in Java?
create
object
new
make
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the correct way to declare a variable of type double in Java?
double variableName
boolean variableName
String variableName
int variableName
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the following code? int x = 5; System.out.println(x++);
6
null
5
4
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the following code? String str = "Java"; System.out.println(str.length());
6
3
5
4
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the following code? System.out.println(10 > 5 && 5 < 3);
5
true
false
10
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Final Quiz

Quiz
•
University
20 questions
Web Development and Programming

Quiz
•
University
10 questions
C Program Array and strings

Quiz
•
University
10 questions
Java Static

Quiz
•
University
20 questions
Fundamentos JAVA

Quiz
•
University
16 questions
Java Основи

Quiz
•
11th Grade - University
10 questions
Third Year Placement Training Revision Test

Quiz
•
University
10 questions
Inheritance

Quiz
•
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