Card 33 / 76: Which of the following are primitive data types? (Choose all that apply.)
A)
int
B)
boolean
C)
char
D)
Float
E)
String
Answer:
A) int
B) boolean
C) char
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
Notice that they all start with a lowercase letter.
D and E are incorrect.
D is incorrect because Float is the wrapper class for a float.
E is incorrect because String is a reference to the String class.
The capital F in Float, and in any other data type, should signal that this is an object.
|