Arrays are very easy to use to hold large amount of values or Object instances. But a common problem is checking if a given Array contains a specific value. There are several ways of doing this, some are efficient and some are not. Below are some examples on how to test if a Java Array contains a certain value.