How Java Platform Independence will work?
<p>I have executed a java program on a 64-bit compiler and generated the byte code for that program. Is it possible to run the same byte code on a 32-bit compiler without loss of the data?</p>

<p>In my program I have declared a variable <code>x=10024</code> on 64-bit compiler?<br>
Then what will be the value of x in 32-bit compiler? If the value of x is same, How is it Possible without loss of data? Can you please elaborate? </p>
