title: How to add elements in array?
body: <p>See the code for example:</p>
  
  <pre><code>public Core()
  {   
      class1 = new int[5]; //declares array for 5 class 
      class2 = new int[5]; //delcares array for 5 class
  
      System.out.println("Please type 1 for First Classe:");
      select = input.nextInt();
  
      if(select == 1)
      {
  
      }
  
  }
  </code></pre>
  
  <p>Alright. If the user select the option number 1, occupy an place of the in the memory of array. For example: </p>
  
  <pre><code>class1 = new int[4];
  </code></pre>
  
  <p>Or, if case exceed the memory appears one message.</p>