In the video : How numbers are stored in java?
There was 2^7-1…and the value was written as 128 instead of 127…Was it a mistake or was it intentional, if so then tell me the reason!!
Why 2^7-1=128 not 127?
Hi Sumit,
It could written by mistake.the range is -128 to 127 in byte as data type.
Hey Mehr,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.