Reference no: EM132095816
Please help with 5 method java program.
Develop a method called max that takes a parameter of an integer array and
returns the largest value stored in the parameter.
Develop a method called min that takes a parameter of an integer array and returns the smallest value stored in the parameter.
Develop a method called maxMin that takes a parameter of an integer array and returns both the largest value and the smallest value in the parameter in an array of length two.
Test your methods in a program and include a method that reads a list, terminated by -999, into an array.
In total, your program will contain 5 methods, max, min, maxMin, the method that reads input, and main.