Java Minimum and Maximum values in Array

The Solution to Java Minimum and Maximum values in Array is


getMaxValue(array);
// get smallest number
getMinValue(array);

You are calling the methods but not using the returned values.

System.out.println(getMaxValue(array));
System.out.println(getMinValue(array)); 

~ Answered on 2013-08-30 05:21:16


Most Viewed Questions: