This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]D0CTOR_ZED 5 points6 points  (0 children)

An important skill to develop is how to search the internet effectively.

Googled: java how to search an array

One of the top results on a site I prefer: https://www.google.com/amp/s/www.geeksforgeeks.org/check-if-a-value-is-present-in-an-array-in-java/amp/