I was just curious which is the preferred way of coding as I've seen code written both of these ways.
import java.util.ArrayList;
import java.util.List;
/**
*Rest of code
*/
List<Blah> blahs = new ArrayList();
or
import java.util.List;
/**
*Rest of code
*/
List<Blah> blahs = new java.util.ArrayList();
So, which is preferred and why? What are the advantages & disadvantages of both methods? Just curious.