The answer, surprisingly, is zero.
All the Integer
s from -128 to +127 are pre-computed by the JVM.
Your code creates references to these existing objects.
The answer, surprisingly, is zero.
All the Integer
s from -128 to +127 are pre-computed by the JVM.
Your code creates references to these existing objects.