title: Java long literals
body: <p>Which one of there expressions are considered java long literals: </p>
  
  <p>1) 0Xf000L</p>
  
  <p>2) 6L</p>
  
  <p>3) (489 - 0L) / 80</p>
  
  <p>4) 30508600000</p>
  
  <p>5) 0XBD000</p>
  
  <hr>
  
  <p>My answer:</p>
  
  <p>1) is considered because of "L" a the end</p>
  
  <p>2) Same as first</p>
  
  <p>3) is not a literal but one calculation ? </p>
  
  <p>4) is to large number for long</p>
  
  <p>5) is not long literal</p>
  
  <p>If I am wrong somewhere please correct me. Also, if the long variable that we are initialising doesn't have "L" at the end is it still considered long literal ? Because if I do that in the compiler it lets me do it(for example 5. question) Thanks!</p>