logo Practice-It logo

findMin

Language/Type: Java arrays array programming
Author: Marty Stepp

Write a static method named findMin that returns the minimum value in an array of integers. For example, if an array named list contains the values {16, 12, 25, 44}, the call of findMin(list) should return 12. You may assume that the array has at least one element.

Type your solution here:


This is a method problem. Write a Java method as described. Do not write a complete program or class; just the method(s) above.

You must log in before you can solve this problem.


Log In

If you do not understand how to solve a problem or why your solution doesn't work, please contact your TA or instructor.
If something seems wrong with the site (errors, slow performance, incorrect problems/tests, etc.), please

Is there a problem? Contact a site administrator.