hello, i'm a bit new here... was wondering if anyone could help
I am trying to use a Comparable Interface to sort objects of an arrayList
and everything functions and compiles except the sorting statement which returns the error:
"
insertionSort(java.lang.Comparable) in Sorts cannot be applied to (java.util.ArrayList)"
( here's a coding example..Collapse )