🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.Integer
  2. B.Character
  3. C.Double
  4. 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 →