title: Java for loop to print each month of the year
body: <p>The follow java code will print the numbers 1- 10 starting at 1. How can I use this same code structure to print out all of the months of the year only once so January, February, March, etc?</p>
  
  <pre><code>public class s {
      public static void main(String[] args) {
          for(int i = 1; i &lt;= 10; i++) {
              System.out.println(i);          
          }
      }
  }
  </code></pre>