title: Declaring a LinkedList in Java
body: <p>I always learn when we declare a collection we should do, <code>Interface ob = new Class()</code>, if i want to use for example a LinkedList i'll do <code>List ob = new LinkedList()</code>, but then i can't have access to all methods from LinkedList.. Isn't <code>LinkedList ob = new LinkedList()</code> 100% correct? </p>