What do you want to save?
Add Code snippet
New code examples
-
Java 2021-11-14 07:17:24
when to use collections 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 -
Other 2021-10-05 00:14:04
hashmap vs linkedhashmap
Main difference between HashMap and LinkedHashMap I remember is that LinkedHashMap maintains insertion order of keys, On the other hand HashMap doesn't maintain any order or keys or values. Also LinkedHashMap requires more memory than HashMap because of ... 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