It's not terribly clean, but you could use indexOf() and check if it returns -1. Better than breaking out a loop.
Lab Objective: In this lab, we will demonstrate how to declare and initialize ArrayList, and how to manipulate ArrayList using built-in methods. By the end of this lab, learners will be able to use ...
Einige Ergebnisse wurden ausgeblendet, weil sie für Sie möglicherweise nicht zugänglich sind.
Ergebnisse anzeigen, auf die nicht zugegriffen werden kann