Question: I need help with this j ava program!! 1. In your main method, display Welcome fives times using a for loop. 2. Make a new
I need help with this java program!!

1. In your main method, display "Welcome fives times using a for loop. 2. Make a new method: public static int sumForLoop(int[] numbers) This method should return the sum of all the elements in the parameter array. Test this in your main method by creating an array of integers, calling sumForLoop with the array you created, and print out the result of sumForLoop. 3. Make a new method: public static int findMax(int[] numbers) This method should return the largest number in the array of ints. Test this in your main method by creating an array of integers, calling findMax, and printing the result. Make sure this method will work with any array of integers, even ones with all negative numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
