1. Using For Loop · 2. Using List contains() method · 3. Using Stream anyMatch() Method · 4. Arrays binarySearch() for sorted array.
確定! 回上一頁