Write a simple Java class representing a Person.
The class must have the following member variables:
The class must implement the Comparable<E> interface. Compare two persons first by their last name then by their first name.
public interface Caparable<E> {
/**
* Compares this object to o. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater
* than the specified object.
*/
int compareTo(E o);
}
Be sure to write JavaDoc comments for your code.
Conduct a quick review of your code, before you turn it in.