I wonder why LinkedList doesn\'t have initialCapacity.
LinkedList
initialCapacity
I know good when to use ArrayList and when LinkedList.
ArrayList
Linkedlist does not need an initial value. Thats is the primary difference between array and linked list.
array will end somewhere. But linkedlist not. Linked list does not work on boundary values.