Suppose that a researcher decides to use an ordered list to organize Student objects. What must be done to the Student class to support this?

What will be an ideal response?
```
public class Student
{
private String name;
private double courseAverage;
// accessor, mutator, and
// support methods ...
}
```

Elements in an ordered list must be comparable. The Student class must implement the Comparable
interface and it must provide a body for the compareTo method.

Computer Science & Information Technology

You might also like to view...

If you want to delete a row, you must position the ________ point anywhere in the row

Fill in the blank(s) with correct word

Computer Science & Information Technology

How does Excel indicate that a column has been selected in a structured reference?

A) There is nothing to indicate a column has been selected. B) A light shading appears in that column. C) A type of colored sticky note is attached to that column. D) A colored border appears around that column.

Computer Science & Information Technology