Storing values returning from a function in Java for Android
<p>I have a function <code>getString(i,j)</code> returning string value for every i,j and I wish to store it in some data structure. Below is the code.</p>

<pre><code>for(int i=0; i&lt;16; i++)
   for(int j=0; j&lt;16; j++)
     Log.d(TAG,this.objNew.getString(i,j));
</code></pre>

<p><code>objNew</code> is the object helping to access <code>getString</code> function in another file. (this.objNew.getString(i,j)) returns a string value i.e. it will return 256 string values when executed in loop.</p>

<p>I tried <code>String[][] arr</code> i.e. <code>arr[i][j] = this.objNew.getString[i][j]</code>, but it didn't work.</p>

<p>Any ideas how can I store into some data structure and display the values.</p>

<p>Please suggest</p>
