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

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Medicina Legal Parcial 1
Quiz
•
University
40 questions
LISTADO DE PREGUNTAS “MARATÓN DE ETICA”
Quiz
•
University
33 questions
Cuestionario de Protocolo
Quiz
•
University
33 questions
file 3
Quiz
•
5th Grade - University
39 questions
Викторина без названия
Quiz
•
2nd Grade - University
40 questions
QUIZZ KJD - PERAWATAN, PERMASALAHAN DAN PERBAIKAN PC
Quiz
•
KG - Professional Dev...
38 questions
Lesson 4: OpenSciEd 6.2 Thermal Energy
Quiz
•
8th Grade - University
35 questions
EXAMEN CENEVAL 1
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Other
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University