title: charAt() unable to extract individual members with array
body: <p>I have one array which is a fixed array.
  I have assigned some strings to it when it is created like:</p>
  
  <pre><code>String []alpha = new String[]{"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q"};
  </code></pre>
  
  <p>But it is giving me an error for this line:</p>
  
  <pre><code>alpha.charAt(0); //error
  </code></pre>
  
  <p>I have also tried this with dynamic arrays where user is entering a string and I access the string with a userText variable:</p>
  
  <pre><code>userText.charAt(i); //valid
  </code></pre>
  
  <p>Is this correct? I am not getting an error.</p>