What do you want to save?
Add Code snippet
New code examples
-
Java 2021-10-26 19:02:18
java check if string appears twice in arraylist
//same as the Grepper awnser but for anything //gets the amount of times the object appears in the array public static int amountOfTimesObjectAppearsInArray(ArrayList<?> array, Object checkMe) { int numCount = 0; for (Object o : array) { ... Add solution
Best helpers
Ranking is empty