I have seen 2 valid declarations of the `LinkedList` class in `Collections Framework` in Java.

1. LinkedList a = new LinkedList();
2. Queue a = new LinkedList();

What exactly is the difference between these 2 implementations?