Java: Get the first occurrence of an element of a array

Java: Get the first occurrence of an element of a array

More to explore

Based on this image's title: “Java: Get the first occurrence of an element of a array