For my Java class, I need to make a function body given this function header:
public static <T> void sort(T[] a, Comparator<? super T> c)
What does the "< T> " mean right after Static and what is the Comparator with the question marks? My knowledge of Comparators is that it's an interface which you can implement and it has two methods .compare and .equal.
Thanks.