the code above creates 3 objects on heap, one array and two
thread objects. and the array will hold reference to these object in corresponding index position.
That's fine.
here only one object is created on heap. what about the primitive values that are being assigned to array, where are they stored???
is it the bit
pattern of those values that is stored in the corresponding index position's allocated memory.