?

AP® Computer Science A

Free Version

Upgrade subject to access all content

Easy

Primitive Data Types in Java

APCSA-EP4YWL

Consider the following data types.

I. String
II. int
III. boolean
IV. double

Which of the choices above are considered primitive data types in Java?

A

I, II, and III only.

B

I, II, and IV only.

C

II, III, and IV only.

D

II and IV only.

E

I, II, III, and IV.