Question 22Asked in DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)

Which of the following is a wrapper class in Java?

  1. AInteger
  2. Bchar
  3. Cboolean
  4. Dfloat
Show answerHide answer

Correct answer: (A) Integer

Explanation

Integer is the wrapper class for the primitive int. char, boolean and float are primitive types, whose wrappers are Character, Boolean and Float.

From DSSSB TGT Computer Science PYQ (Technical), 13 Sep 2025, Shift 3 (5:00 PM)

This is question 22 of DSSSB TGT Computer Science PYQ (Technical), 13 Sep 2025, Shift 3 (5:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.