title: Why do we have to type the class name twice when instantiating a new object in Java?
body: <p>When we create a new object in Java, we use the syntax:</p>
  
  <pre><code>ClassName instancename = new ClassName();
  </code></pre>
  
  <p>My question is why do we have to type the class name at the beginning? Why is there simply not an 'object' keyword?</p>
  
  <p>Example:</p>
  
  <pre><code>object instancename = new ClassName();
  </code></pre>