When dealing with ArrayLists and LinkedList etc whats best practice and does the difference matter?
List<xx> l = new LinkedList<xx>();
List<xx> l = new ArrayList<xx>();
vs
LinkedList<xx> ll = new LinkedList<xx>();
ArrayList<xx> al = new ArrayList<xx>();
Just want to know out of curiosity
Thanks.