Java LinkedList.addLast() is a method in the Java LinkedList class that inserts an element at the end of the list. This operation is efficient, as it appends the element directly without shifting other elements. Introduced in Java 1997 with Java 1.2, addLast() is often used when elements need to be added to the tail of a linked list, such as in queues or stacks.
https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html