adplus-dvertising
frame-decoration

Question

Choose the number range for byte data type in Java?

a.

-127 to +128

b.

-128 to +127

c.

0 to 256

d.

0 to 255

Answer: (b).-128 to +127

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Choose the number range for byte data type in Java?