title: problems faced in StringArray!
body: <p>I declared a String -</p>
  
  <pre><code>  String operand[];
  </code></pre>
  
  <p>and i tried to initialize it as </p>
  
  <pre><code>operand[]0=string[2];(string[2]="buffer,x")
  </code></pre>
  
  <p>and it is returning a NPE,</p>
  
  <p>The same happened while printing-</p>
  
  <pre><code>System.out.println(operand[1]);
  </code></pre>
  
  <p>is there any simple way to get this done?</p>
  
  <p>thankyou!</p>