Card 30 / 76: What are the wrapper classes for the primitives boolean, char, short, int, and double?
A)
Boolean, Char, Short, Int, Double
B)
Boolean, Char, Short, Integer, Double
C)
Boolean, Character, Short, Int, Double
D)
Boolean, Character, Short, Integer, Double
Answer:
D) Boolean, Character, Short, Integer, Double
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
The full set of wrapper classes is Boolean, Character, Byte, Short, Integer, Long, Float, and Double.
A, B, and C are incorrect.
Classes named Char and Int do not exist. The appropriate wrapper classes are named Character and Integer.
|