class Test<U> {
// As we are comparing the Non-primitive data types
// we need to use Comparable class
static <U extends Comparable<U>> void sapXep(U[] arr) {
int i, j, min;
// Selection Sort
for (i = 0; i < arr.length - 1; i++) {
min = i;
for (j = i + 1; j ...












