Check out example codes for "integer max value representation java". It will help you in understanding the concepts better.
Code Example 1
//Integer.MAX_VALUE (MAX_VALUE Method In Integer Wrapper Class) -2,147,483,648 //(Value) In Java, the integer(long) is also 32 bits, but ranges from -2,147,483,648 to +2,147,483,647.
Code Example 2
Learn ReactJs, React Native from akashmittal.com