X1623: Are all elements less than x?

Write the method boolean areAllLessThan(int[] nums, int x) in Java that returns true if all elements in the array nums are less than the parameter x, and returns false otherwise.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.