Search Header Logo

Primitive vs. Reference Types (Java)

Authored by Bryan Campbell

Computers

9th - 12th Grade

Primitive vs. Reference Types (Java)
AI

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?