Math, asked by ylniarb2488, 1 year ago

Values in bytearray should be integers between

Answers

Answered by QGP
11
-128 to 127


The byte data type is primarily seen in JAVA. 

JAVA has eight primitive data types, of which byte is one. 

A byte type variable is allocated 8 bits of memory space. 

Also, the byte data type uses the two's-complement system to store the numbers.

The range of byte data type is -128 to 127. So, we can fill in any integer within that range.


So, when we declare a byte array, the values that will be stored will have the byte data type. And so their range will also be -128 to 127.

Answered by Prakhar2908
2
-128 to 127

Hope it helps you.
Similar questions