I seem to have NameRecord.java working, but however when I go to print the array in the toString() method it prints out a memory location.
public String toString() {
return "NameRecord[Name: " + name + ", Rankings: " + rankingData.toString() + "]";
}
It prints out:
NameRecord[Name: Theresa, Rankings: [I@5ccd43cd]
I'm not quite sure what I'm doing wrong, I thought I initialized a new array in my constructor because all of my methods work, however I am unable to print out the array.