title: Can an integer be added with a long?
body: <p>I'm sorry for such a lame-o question. I would test this myself... But unfortunately I do not know how to code for java, and it would not be worth answering just for this one question.</p>
  
  <p>Is it possible to add a long and an integer together? 
  My friend is working on a project, and I think he can fix one of his errors by using a long instead of an integer. (He wants numbers to be higher than 2.147 billion). </p>
  
  <p>I tried doing a bit of research on my own, and I was surprised that the answer wasn't as easy to find. This is one source of information that I was able to find. </p>
  
  <p>"If either or both of the integer types is a long, the result is a long."
  <a href="https://community.oracle.com/message/5270213" rel="nofollow">https://community.oracle.com/message/5270213</a></p>
  
  <p>Is that correct? Again, sorry that I'm not able to test this out myself. </p>