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
Maybe you are looking for Vector. It's capacity is automatically expanded if needed. It's not the best choice but will do in simple situations. It's worth your time to read up on ArrayList instead.
Vector
ArrayList