Madhura Prakash

Greenhorn
+ Follow
since May 18, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Madhura Prakash

Hello,

I think its not working coz, the index variable "i" is not declared in the first for loop. Guess u have missed declaring the variable "i".

Regards,
Madhura.
15 years ago
Hello,

Incase you want to copy the contents of the Vector to the Array you could also do it in the following manner,

Code:
----------------------------------------------------------------------------
String[] strCopiedFromVect = new String[vectorToBeCopied.size()];
vectorToBeCopied.copyInto(strCopiedFromVect);
----------------------------------------------------------------------------

Hope this helps..

Regards,
Madhura.
15 years ago