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 exception after looping value 32.
How to solve this problem in java?
How can I declare a dynamic array in java ?
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 exception after looping value 32.
How to solve this problem in java?
How can I declare a dynamic array in java ?