Convert the binarySearch method in the attached file to use Generic type T which should work for any objects that has Comparable Interface implemented. Hint: Please use below for the method definition. public static <E extends Comparable<E>> int binarySearchGeneric(E[] list, E key) create array list and sorted it out for this code work.