Possible Duplicates:
How do I remove objects from an Array in java?
Removing an element from an Array (Java)
listOfNames = new String [] {"1","2","3","4"}; //
String [] l = new String [listOfNames.length-1];
for(int i=0; i<listOfNames.length-1; i++) //removing the first element
l[i] = listOfNames[i+1];
// can this work , Is there a better way ? to remove certain elements from an array in this case the first one .