Assign String variable to an String array
<p>I am not able to assign a String variable to a String Array. 
My code is : </p>

<pre><code>//Declaring a String array 
public String [] fileWrite = new String [10]; 

//assigning a variable 

String value = String.valueOf(aChar1);
fileWrite[0] = value;
</code></pre>

<p>But when I try to print the array, it gives <code>null</code>. I checked the value of variable <strong>value</strong> but that is ok. I cant understand the reason of array being <code>null</code>. </p>
