24th Mar 2020, 3:51 AM
Aditya
Aditya - avatar
4 Antworten
+ 5
that never solved my problem 😢
27th Mar 2020, 11:29 AM
Aditya
Aditya - avatar
+ 5
Denise Roßberg please directly guide me by constructing a doubly linked list 😉
27th Mar 2020, 11:30 AM
Aditya
Aditya - avatar
+ 2
#ditched Maybe I missunderstood what you want to do. I think the best is to share your complete code (using code playground) and to give more information about your task.
27th Mar 2020, 12:45 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
I think your problem is this: List<Integer> item = new List<>(); But List is an interface so it won't work. You can do something like this: List<Integer> item = new ArrayList<>(); You can do this with any list which implements the interface List. For more information: https://www.google.de/amp/s/www.geeksforgeeks.org/initializing-a-list-in-java/amp/
27th Mar 2020, 2:48 AM
Denise Roßberg
Denise Roßberg - avatar