Why this code is incorrect?(Set) : <p><strong>this has error ㅠㅠ</strong>
error</p>

<p>error!!<em>emphasized text</em>
dkdkd</p>

<pre><code>import java.util.*;

public class SetExam {

public static void main(String[] args) {
     Set&lt;String&gt;set = new HashSet&lt;String&gt;();
        set.add("a");
        set.add("b");

        Iterator&lt;String&gt; iter = set.iterator();

        While(iter.hasNext()){ //this point it's error
          String str = iter.next();
          System.out.println(str);
        }
      }
</code></pre>

<p>while ~~ this has error why is it incorrect?</p>
