Fred George's Object Bootcamp Day 7
Comparable
int compareTo(obj)
Returned value is positive means that this object is greater than obj
Returned value is zero means that this object is equal to obj
Returned value is negative means that this object is less than obj
compareTo can throw…