title: What data type can I use instead of 'var' in Java 8?
body: <pre><code>var x = new something();
  </code></pre>
  
  <p>I tried to make that but Eclipse says </p>
  
  <blockquote>
    <p>var cannot be resolved to a type</p>
  </blockquote>
  
  <p>What type can I use in Java 8?</p>