X647: Smallest integer

Given an array of integers, return the smallest value in the array. Assume the array has only posivitive numbers. If the array is empty, return -1.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.