Monthly Archives: April 2003

The Big O

You may have seen someone write this:

Why didn’t they just write

Well, remember that List is the interface and ArrayList and LinkedList are implementations. That means it is OK to point at the implementations through the interface type – which is where we started this discussion. But if the variable is the […]

Posted in Java | Tagged , , | Leave a comment