
Java Summer Internship Quiz-9

Quiz
•
Professional Development
•
Professional Development
•
Medium

Gnaneshwar Reddy
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of an object reference (non-primitive variable) if it is not explicitly initialized?
a) 0
b) null
c) false
d) It depends on the variable type.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a non-primitive data type in Java?
v
b) double
c) float
d) Integer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store a true/false value in Java?
a) boolean
b) int
d) float
c) byte
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to declare a non-primitive data type in Java?
a) void
b) new
c) class
d) non-primitive
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type of the literal "3.14" in Java?
a) float
b) double
c) int
d) long
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the range of the byte data type in Java?
a) -128 to 127
b) 0 to 255
c) -32768 to 32767
d) -2147483648 to 2147483647
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store a single character in Java?
a) char
b) int
c) byte
d) String
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
INNOVATION DAY TR7 Collaborate with Witel Makassar

Quiz
•
Professional Development
11 questions
Les termes médicaux qui ne se décomposent pas

Quiz
•
Professional Development
10 questions
React Basics Quiz

Quiz
•
Professional Development
15 questions
Class 6 Review

Quiz
•
Professional Development
10 questions
BIMTEK OPS 2022

Quiz
•
Professional Development
10 questions
SOAL POST TEST TRAINING PT THAI UNION

Quiz
•
Professional Development
10 questions
Daelites PowerBi test week 3

Quiz
•
Professional Development
15 questions
Quantitative and Qualitative

Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade