title: How to use long data type in Java?
body: <p>I have to use quite a big number - 600851475143; as we all know, I have to use long data type but when I try to initialize like: <code>long number = 600851475143</code> I get an error:</p>
  
  <blockquote>
    <p>The literal 600851475143 of type int is out of range.</p>
  </blockquote>
  
  <p>It seems that I don't know how to use long data type correctly.</p>