
Java Programming Quiz

Quiz
•
Other
•
University
•
Hard

Niveditha N
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
34 questions
Programación Orientada a Objetos

Quiz
•
University
36 questions
PLAN DE NEGOCIOS

Quiz
•
University
40 questions
Computer Programming (Mid-term Exam)

Quiz
•
University
32 questions
Computer Science Quiz

Quiz
•
University
40 questions
c-debugging

Quiz
•
University
40 questions
Quiz 1: The study of meaning

Quiz
•
University
36 questions
evaluating sources

Quiz
•
5th Grade - University
39 questions
Trắc nghiệm C tt

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University