In Java we can either import single classes as well as the whole set of classes (a package).
As an example
import java.util.*
includes
import java.util.ArrayList;
import java.util.Date;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.List;
import java.util.Iterator;
import java.util.Map;
Other than the length of the code, are there any specific advantages of using the each approach in any manner? Memory allocation? Performance?