i need to keep track of an object array datalist ,so that when i want to store the object to it i can store it to the next available element..
Rite now i make an object ptr.value(ptr is object of class with value as instance variable) to keep track of it,can i do something easy in java