
Java Programming Quiz
Authored by Niveditha N
Other
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
37 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is not a Java keyword?
static
volatile
unsigned
native
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of Boolean in Java?
0
null
false
true
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will this loop run? for (int i = 0; i < 10; i++) { if (i == 5) break; }
10
5
4
Infinite
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the output of: int[] arr = new int[5]; System.out.println(arr[2]);
Error
Garbage
0
null
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method can return multiple values?
void
int[]
boolean
char
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is immutable in Java?
StringBuffer
StringBuilder
String
char[]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is true about constructors?
Return type required
Called manually
No return type
Must be static
Access all questions and much more by creating a free account
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
40 questions
PAS B.Inggris 11
Quiz
•
11th Grade - University
32 questions
Evaluasi HUT4791 Metodologi Penelitian
Quiz
•
University
40 questions
UNIT 3 : Pembangunan Produk
Quiz
•
7th Grade - University
37 questions
Ulangan harian 1
Quiz
•
12th Grade - University
40 questions
PKK KELAS 12 TKJ
Quiz
•
University
40 questions
Repàs TDDA
Quiz
•
University
40 questions
Quiz sobre Diseño de Investigación
Quiz
•
University
40 questions
Ancd
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University