This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi, If Error Says:: array required, but java.util.Vector found , then you can convert your vector to an array with: <T> T toArray(T a) Returns an array containing all of the elements in this Vector in the correct order; the runtime type of the returned array is that of the specified array. Cheers.
Joined: Aug 22, 2005
But can someone tell me whats wrong in the line marked //Error.