Take a signed datatype for example byte. Its range is -127 to 128 so there are -1 to -127 are negativa values and 1 to 128 are position values. 127 negative values 128 position values 127 == 128 is false. So answer is false. I hope this is correct. Thanks Deepak
byte range is from -128 to 127 so there is 1 more negative number than positive number in total i.e -1 to -128(128 numbers in total ) and 1 to 127 (127) numbers in total
The data types byte, short, int and long (the signed integer data types) are stored as two's complement in Java. Read that page and you'll understand why the range of a byte is -127 to +128, etc.