Java: Check if an array of integers contains 10 or 30

Java: Check if an array of integers contains 10 or 30

More to explore

Based on this image's title: “Java: Check if an array of integers contains 10 or 30