Answers for "java arraylist contains string"

2

java arraylist contains string

boolean ans = arr.contains("geeks");
Posted by: Guest on October-23-2020
0

list contains

List<Integer> arr = new ArrayList<Integer>(4);
boolean ans = arr.contains(2);
Posted by: Guest on July-25-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language