What do you want to save?
Add Code snippet
New code examples
-
Java 2021-09-20 14:45:02
Remove duplicate element in an array in java
import java.util.*; public class RemoveDuplicatesFromArrayList { public static void main(String[] args) { List<Integer> numbers = Arrays.asList(1,2,2,2,3,5); System.out.println(numbers); Set<Integer> hashSet = n... Add solution -
Java 2021-09-16 05:56:02
collection types in java
LIST: Can store duplicate values, Keeps the insertion order. It allows multiple null values, Also we can read a certain value by index. - ArrayList not syncronized, array based class - LinkedList not synchronized, doubly linked - Vect... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5