title: Variables including loop counter in name
body: <p>So I have this code, where <code>en1</code> is an instance of a object.</p>
  
  <pre><code>for (int i = 0; i &lt; 20; i++) {
      System.out.println("Introduce el nombre de una empresa");
      Scanner scanner = new Scanner(System.in);
      en1.setName(scanner.next());
  }
  </code></pre>
  
  <p>I would like to change the 1 on <code>en1</code> to the loop counter. Is this possible?</p>