title: Add multiple numbered objects to ArrayList
body: <p>Suppose I have a lot of String Variables(100 for example):</p>
  
  <pre><code>   String str1 = "abc";
      String str2 = "123";
      String str3 = "aaa";
  ....
      String str100 = "zzz";
  </code></pre>
  
  <p>I want to add these String variables to ArrayList, what I am doing now is</p>
  
  <pre><code>    ArrayList&lt;String&gt; list = new ArrayList&lt;String&gt;();
      list.add(str1);
      list.add(str2);
      list.add(str3);
  ...
      list.add(str100);
  </code></pre>
  
  <p>I am curious, is there a way to use a loop? For example.</p>
  
  <pre><code>for(int i =  1; i &lt;= 100; i++){
       list.add(str+i)//something like this?
  }
  </code></pre>