ArrayList contiene doc

ArrayList<String> strings=new ArrayList<String>();
boolean ans = arr.contains("geeks");		//ans=false
Zany Zebra