title: adding multiple data to Object array at run time
body: <p>How to set values for two dimension array of objects in java.</p>
  
  <p>following is my for loop :</p>
  
  <pre><code>Object[][] hexgenSecurityInferenceData = null;
  for (String methodName: knowGoodMap.keySet()) {
      hexgenSecurityInferenceData = new Object[][] {
          {
              (KnownGoodInfoRO) knowGoodMap.get(methodName), new Object[] {
                  (MethodPropertiesRO) methodPropertiesMap.get(methodName), (List) methodParametersMap.get(methodName)
              }
          },
      };
  }
  </code></pre>
  
  <p>this prints only one row of data. I am sure that i make mistake when <code>adding values to Array of Object but really don't know how to fix.</code></p>
  
  <p>Kindly help me to fix this</p>