You can try:
for(int i = 0; i<10; i++)
{
try{
if(arr[i].length==0); //if null, will throw exception
}catch(Exception e){
arr[i] = obj;
...
Type: Posts; User: iKiWiXz
You can try:
for(int i = 0; i<10; i++)
{
try{
if(arr[i].length==0); //if null, will throw exception
}catch(Exception e){
arr[i] = obj;
...