
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
Unidade 1

Quiz
•
Professional Development
10 questions
Forcepoint DLP Knowledge Check

Quiz
•
Professional Development
11 questions
Post-test Cyber Security CN Group

Quiz
•
Professional Development
13 questions
Formazione FO-CG3 Condotta

Quiz
•
Professional Development
10 questions
A360 Cookbook and Packages

Quiz
•
Professional Development
10 questions
SOLO QUIZ

Quiz
•
Professional Development
10 questions
Java Summer Internship Quiz-11

Quiz
•
Professional Development
9 questions
PreTrainingCollectionsArrays

Quiz
•
Professional Development
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