Hi all, is it possible to have a class that extends another class but also implements Comparable? I am trying to do this but get compilation error
public class Student extends Person implements Comparable<Student>
public class Person implements Comparable<Person>
These are my two classes which are being used...
java.lang.Comparable cannot be inherited with different arguments+