Can anyone clarify me about the api Object[] toArray(Object[])
There are two apis in Collections framework to convert the Collection elements into an array 1. Object[] toArray()2. Object[] toArray(Object[])Can some one explain me what does the second api - Object[] toArray(Object[]) does ?