title: Why do I get Unreachable Code in this situation?
body: <p>Why I try to use the loop to display the numbers I had put into the <code>ArrayList</code>, it says Unreachable code what am I doing wrong.</p>
  
  <pre><code>private void nOther1() {
  
      ArrayList&lt;Integer&gt; multiples = new ArrayList&lt;Integer&gt;();              
      int n = 1;            
      while (1 &lt;= 100) {                
          multiples.add(n);
          n++;                                  
      } 
  
      // UNREACHABLE CODE
      for (int num : multiples) {
            System.out.println(num);
      }   
  }
  </code></pre>