Examveda
Examveda

How do you check if an element exists in an array or ArrayList in Java?

A. Use the find() method.

B. Use the search() method.

C. Use the contains() method.

D. Use the exists() method.

Answer: Option C


This Question Belongs to Java Program >> Array

Join The Discussion

Related Questions on Array