1.)
long milli=24*60*60*1000; long micro=24*60*60*1000*1000; long result=micro/milli;
The result should be 1000 but it\'s not
1000
You need to put an L in there for long-conversion
L
long micro=24*60*60*1000*1000L