Hello.
Java uses 2's complement representation for storing numbers.
And an integer occupies 4 bytes of memory.
With this much knowledge just spend some time on how to store signed numbers...