cmbhatt
What is wrong with this statement ?
--------------------------------
/*s1=(String[])o; //line 1
---------------------------
I could not understnad
cmbhatt
Originally posted by anil kumar:
Thanks
chandra
I got it
But what does this statement mean?
-----------------------------------------------------------------------
If the list fits in the specified array with room to spare (i.e., the * array has more elements than the list), the element in the array * immediately following the end of the collection is set to * <tt>null</tt>.
---------------------------------------------------------------------
cmbhatt
Regards, Abdul Mohsin
Originally posted by Abdul Mohsin:
I think directly casting object array to String array is not possible, we have to iterate over Object array and then cast one by one.
Thanks,
Abdul Mohsin
cmbhatt