title: What is the purpose of long, double, byte, char in Java?
body: <p>So I'm learning java, and I have a question. It seems that the types <code>int</code>, <code>boolean</code> and <code>string</code> will be good for just about everything I'll ever need in terms of variables, except perhaps <code>float</code> could be used when decimal numbers are needed in a number.</p>
  
  <p>My question is, are the other types such as <code>long</code>, <code>double</code>, <code>byte</code>, <code>char</code> etc ever used in normal, everyday programming? What are some practical things these could be used for? What do they exist for? </p>