Question: 4. Using non-generic techniques, implement a static method getMax() that takes an array of type Comparable and returns the maximum element in the array.(i.e. public
4. Using non-generic techniques, implement a static method getMax() that takes an array of type Comparable and returns the maximum element in the array.(i.e. "public static Comparable getMax(Comparable [] anArray)").
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
