When 2's complement(two's complement) is used under the hood in java?

Viewed 18

I am a experienced java developer. Recently I have been thinking about this question in my mind when this 2's complement actually used for ? I have done some research but there are a lot of confusion. For example Some says it is used while storing -ve numbers , I normally thinks everything is stored using 2's complement.

May be I am completely wrong but I want to know what is happening under the hood?

0 Answers
Related