arraylist contains doc
ArrayList<String> strings=new ArrayList<String>();
boolean ans = arr.contains("geeks"); //ans=false
3.7
10
boolean ans = arr.contains("geeks");
Thank you!
10
0
Are there any code examples left?
New code examples in category Other