public static void display(Comparable a[]) {
        System.out.print("Array = ");
        for (Comparable comparable : a) {
            System.out.print(comparable + " ");
        }
        System.out.println("");
    }