title: Remove an element from an array of doubles and booleans
body: <p>I'm trying to remove an element from an array of doubles. I've tried to use "null" but I can only use null for an array of strings. Here is my code:</p>
  
  <pre><code>String[] nome= new String[tamMax];
  double[] quanto = new double[tamMax];
  double[] preco = new double[tamMax];
  boolean[] feito = new boolean[tamMax];
  int nItens=0;
  for (int i = 0; i &lt; nItens; i++) {
      if (nome[i + 1] == null) {
              nome[i] = null;
              nItens-=1;
              quanto[i]=null;
              feito[i]=null;
      }
  }
  </code></pre>