title: Initialize 2D Array of custom objects
body: <p>I've a question about initializing a 2D Array of custom objects.</p>
  
  <p>I have 2 Objects : a <code>CellEntity</code>, and a <code>MapEntity</code> who contains:</p>
  
  <pre><code>private final ICellEntity[][] cellMap;
  </code></pre>
  
  <p>I've initialized <code>cellmap</code> in the <code>MapEntity</code>'s constructor</p>
  
  <pre><code>cellMap = new CellEntity[width][length];
  </code></pre>
  
  <p>but every <code>CellEntity</code> is <code>null</code>.</p>
  
  <p>I want to know if there's a solution to invoke (to force) a method in <code>CellEntity</code> class in order to init each <code>CellEntity</code> in the <code>cellMap</code>?</p>