I am using String Array declare as zoom z[]=new String[422];. But this array stores value from 0 to 32, so I got null pointer except
zoom z[]=new String[422];
0
32
null pointer except
The Array.newInstance(Class> componentType, int length) method is to be used to create an array with dynamically length.
Multi-dimensional arrays can be created similarly with the Array.newInstance(Class> componentType, int... dimensions) method.