The EvenOddArray program separates an array of numbers into two arrays: one for even numbers and another for odd numbers. The user provides the input array using the UserInput class. EvenOddArray.java ...
It's not terribly clean, but you could use indexOf() and check if it returns -1. Better than breaking out a loop.
An array is a collection of the same type of elements that are grouped together and referred to by a common name. These elements are homogeneous in nature meaning they should be of the same datatype.