0

Who convert linked list to arraylist

9th Sep 2020, 6:59 PM
Gerson Zefanias Cumbe
Gerson Zefanias Cumbe - avatar
3 Answers
9th Sep 2020, 7:09 PM
RKK
RKK - avatar
9th Sep 2020, 9:48 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
Create a linked list. LinkedList<Object> obj1 = new LinkedList<>(); Create an array list and pass the linked list reference to the array list. ArrayList<Object> obj2 = new ArrayList<>(obj1);
9th Sep 2020, 8:27 PM
Avinesh
Avinesh - avatar