Basic Java Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Stacey Do
Used 22+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What type of language is Java?
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Software Testing
Quiz
•
University
20 questions
Review Quiz (Chapter 3&4)
Quiz
•
University
20 questions
C Programming Unit-1 Test-2
Quiz
•
University
10 questions
C++ Array Quiz
Quiz
•
University
10 questions
Microsoft Word
Quiz
•
University
15 questions
quiz pertemuan 2 asik ddp
Quiz
•
University
20 questions
TEST1.PY
Quiz
•
10th Grade - University
15 questions
Computer Applications in Banking and Finance Quiz
Quiz
•
University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
