Question 167Asked in DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)

Which of the following is a java primitive data type?

  1. AArray
  2. BString
  3. CClasses
  4. DByte
Show answerHide answer

Correct answer: (D) Byte

Explanation

byte is one of Java's eight primitive types (byte, short, int, long, float, double, char, boolean). Arrays, String and classes are reference types.

From DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 1 (8:30 AM)

This is question 167 of DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 1 (8:30 AM). 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.