← Quiz: Wrapper Classes and Autoboxing: all 10 questions
Quiz: Wrapper Classes and Autoboxing · Question 7 of 10
Which wrapper class has NO value cache?
Which wrapper class has NO value cache?
- A.Integer
- B.Character
- C.Double
- D.Boolean
Answer & explanation
Correct answer: Double
Double and Float are not cached. Integer, Short, Byte, Long, Character and Boolean are.
Can you get the rest right without peeking?
Take the timed Quiz: Wrapper Classes and Autoboxing quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →