in java.lang.NumberFormatException
Hello,
my code can compile, but when I try to create an new TempEntry (String info), in java.lang.NumberFormatException keeps appearing by the time I get to my first integer.
/**
* Constructor for objects of class TempEntry
*/
public TempEntry(String info)
{
info = info.trim();
String[] parts= info.split(",");
month= Integer.parseInt(parts[1]);
day= Integer.parseInt(parts[2]);
year= Integer.parseInt(parts[3]);
average= Double.parseDouble(parts[4]);
high= Double.parseDouble(parts[5]);
low= Double.parseDouble(parts[6]);
}