a. Define a Java interface named SortableInterface. A class thatimplements this interface allows creation of an object that holdsan array of objects of a specified type. The SortableInterfaceinterface should require the add method to add an object to thearray and the sort method to sort the objects in the array. Theactual type of the objects in the array is specified when theSortableInterface object is instantiated. Therefore, both theSortableInterface interface and the classes that implement itshould be generic. Suppose a class named StringSort implements theSortableInterface interface. A test driver application is shownhere. Its output would be “bob jim michael” and “1000
PayPal Gateway not configured
PayPal Gateway not configured