title: Long Division in Java not working as expected
body: <pre><code>class LongDiv{
  public static void main(String [] args){
  
      final long x = 24*60*60*1000*1000;
      final long y = 24*60*60*1000;
      System.out.println(x/y);
  }
  }
  </code></pre>
  
  <p>although the expected answer is 1000, but the javac gives it as 5. Reason?</p>