I would like to return an array of double values from the strings. How can I do that? I have been unable to do it with the following....
public static double[] fillArray(String numbers)
{
String[] answers = numbers.split(",");
double[] boom = new double[answers];
for (int index = 0; index < answers.length; index++)
{
System.out.println(answers[index]);
}
return boom;
}