Question: 2. Write a method which takes an array of integers and returns the largest one. So if the array is 35 55 65 40

2. Write a method which takes an array of integers and returns the largest one. So if the array is 35 55 65 40 25 50 the method should return 47.
Step by Step Solution
3.53 Rating (167 Votes )
There are 3 Steps involved in it
We can find maximum of the array in On time algorithm 1create a variable max and sto... View full answer
Get step-by-step solutions from verified subject matter experts
