Take out a piece of paper. We’ll be programming on paper.
Create a class Student with an instance variable grades of type array of doubles. The Student class must implement the following interface.
public interface Averageable {
/**
* Returns the average value.
*/
public double average();
}
Modify the Student class to also implement the following interface.
public interface Minable {
/**
* Returns the minimum value.
*/
public double minimum();
}