I'm not sure what the difference between the following declarations are :
ArrayDeque ad = new ArrayDeque();
Deque d = new ArrayDeque();
Is one of them more proper than the other? Or are there situations where you would in fact use one over the other. I realize that ArrayDeque implements Deque but I'm not sure how that plays into the above declarations.
Thanks