title: How can I declare dynamic String array in Java
body: <p>I am using String Array declare as <code>zoom z[]=new String[422];</code>. But this array stores value from <code>0</code> to <code>32</code>, so I got <code>null pointer exception</code> after looping value <code>32</code>. </p>
  
  <p>How to solve this problem in java?</p>
  
  <p>How can I declare a dynamic array in java ?</p>