toString() method looks OK. You need to return your String at last because return type of method is String..
public String toString()
{
String StudentInfo = "Student ID: " + idNumber +
"\nName: " + name +
"\nPoints: " + achievementPts +
"\nAge: " + age;
return StudentInfo;
}
well, Welcome to java ranch..You will enjoy java here
Good, Better, Best, Don't take rest until, Good becomes Better, and Better becomes Best.
Sidd : (SCJP 6 [90%] )