My java asignment is the following. Sorry if this is a repeat send. My email is
Finding the largest object
Write a method that returns the largest objects in an array of objects. The method
Signature is:
public static Object max( Comparable[] a)
All objects are instance of the Comparable interface. The order of objects in array is determind using
compareTo method.
Write a test program( Deriver) that creates array of ten Strings, MRects and Dates, and find the largest
String, MRect and Date in the array.
Thank you for your time.