Originally posted by Joel McNary:
Is is possible to get the toArray method to return an Array of the appropriate types -- if you pass it in first.
Granted, you have to know how large to make the array, but that's what the .size() method does.
Joel I appreciate your effort,
But here you are using different method from what I have used.
There are two version of this method.
1. Object[] toArray()
--That what I was using 2. Object[] toArray(Object a[])
--This is what you are using And offcourse when you are passing an array then array must have size and if we need to give size while initiliazing any array.
[ September 29, 2006: Message edited by: Ankur Sharma ]