title: How shall I declare Iterator?
body: <p>Which form is preferred:</p>
  
  <pre><code>String my = "Which form shall I use?";
  Iterator iter = my.iterator();
  </code></pre>
  
  <p>or  </p>
  
  <pre><code>Iterator&lt;String&gt; iter = my.iterator();
  </code></pre>
  
  <p>I personally preferr the former but in my materials from uni they use the latter.</p>