X646: Largest integer

Given an array of integers, return the largest 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.