Question: 9.5 (Maximum element in an array) Implement the following method that returns the maximum element in an array public static E extends Comparable E E

9.5 (Maximum element in an array) Implement the following method that returns the maximum element in an array public static E extends Comparable E E max (E[] list) Write a test program that prompts the user to enter 10 integers, invokes this method to find the max. SAMPLE RUN: Enter 10 integers: 3 4 127 3 45647 The max number is 12 Class Name: Exercise19_05
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
