title: Store words in array
body: <p>I need a big list of words. So I use an array that stores four words. The problem is that I need 300+ arrays. I think my solution isn't good.. </p>
  
  <p>At first I store the words in the arrays like this:</p>
  
  <pre><code>array1 = new String[]{"Hello","Hello","Hello","Hello"};
      array2 = new String[]{"Hello","Hello","Hello","Hello"};
      array3 = new String[]{"Hello","Hello","Hello","Hello"};
      array4 = new String[]{"Hello","Hello","Hello","Hello"};
      array5 = new String[]{"Hello","Hello","Hello","Hello"};
  </code></pre>
  
  <p>Then I generate a random number that chooses an array. The switch-case will be very big and it looks like an bad solution for many arrays. </p>
  
  <pre><code>int random = r.nextInt((5 - 1) + 1) + 1;
  
      switch(random){
          case 1: array = array1; break;
          case 2: array = array2; break;
          case 3: array = array3; break;
          case 4: array = array4; break;
          case 5: array = array5; break;
      }
  </code></pre>
  
  <p>So, if I have many arrays the switch-case will be very huge and unclear. I need some ideas for a better solution. </p>
  
  <p>Best regards from germany. :) </p>