professor's instructions are vague can someone clarify please?
i'm not having much trouble with this project until i stumbled upon part 3. His instructions seem vague to me. Here is the project url so you guys can read a bit to find out a little more to understand my program. http://www.cs.utsa.edu/~javalab/cs1713/projects/project1.html
it's a compareTo() method, heres mine:publicint compareTo(Object obj){
Scholar otherObj = (Scholar)obj;
double result = getScore() - otherObj.getScore();
if (result > 0)
return 1;
elseif (result < 0)
return -1;
return 0;
}
here is what i'm printing out in the main class:
System.out.println(student1.compareTo(student2));
it just returns a 1 or -1, which makes sense since that's what i am returning.
But why is this even needed, and am i missing something, and what should i be printing out if there is something i'm missing.
thanks in advance.

