0
How to remove first node linkedlist in java?
2 odpowiedzi
+ 2
poll() gets and removes the head of the linked list and pop() gets and removes the tail of the list
+ 1
here are the java docs with a list of methods and what they do and return
https://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html