
Primitive vs. Reference Types (Java)
Authored by Bryan Campbell
Computers
9th - 12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not a primitive data type?
Int
Float
Double
String
Char
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a primitive data type?
Array
Object
Boolean
Function
None of the above
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not a reference data type?
Enum
LinkedList
Array
String
Char
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a reference data type?
Boolean
Long
Array
Byte
Short
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a reference data type?
LinkedList
Long
Char
Byte
Double
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you turn a primitive data type into an object?
By using its wrapper class
By encapsulation
By inheritance
By using polymorphism
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a primitive data type in Java?
String
Array
Double
ArrayList
Class
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?