Question: Write a Java class called Max. The class defines a method called max(), which takes as its only parameter an array of int called a,
Write a Java class called Max. The class defines a method called max(), which takes as its only parameter an array of int called a, and returns an int representing the maximum value which occurs in the array.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
