public static double[] returnArray()
{
for (int a=0; a<31; a++) {
double i = Double.valueOf(days[a]);
dataArray[a]=i;
}
return(dataArray);
}
days[]
是一个字符串数组static double[] dataArray
并被声明
它说我得到NullPointerException
了double i = Double.valueOf(days[a]);
?请帮忙,