private int [] minValues;
private int count = 0;
String[] tempString ;
tempString = line.split("-");
System.out.println(tempString[0]);
but when i try to add the store into array's code,
private int [] minValues;
String[] tempString ;
tempString = line.split("-");
minValues[count] = tempString[0]; <-- it say incompatible types
System.out.println(tempString[0]);
count++;