Single Choice Easy

QWhat is the numerical range of a byte data type in Java?

ID: #22183 byte - Data Type in Java 70 views
Question Info
#22183Q ID
EasyDifficulty
byte - Data Type in JavaTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A -128 to 127
  • B -32768 to 32767
  • C 0 to 255
  • D 0 to 65535
Correct Answer

Explanation

The byte data type in Java is an 8-bit signed integer, ranging from -128 to 127. This range allows it to efficiently store small integers.

Share This Question

Challenge a friend or share with your study group.