Studyon Minte9.com
Head First (Java)




Api



In the first and second versions of Java (1.02 and 1.1), all classes that shipped with Java. There was always 
java.lang, of course - the one you don't have to import. And there was java.net, java,io, java.util, java.awt, etc.

When you see a package in the library that begins with Javax, you know it started like an extension, and then 
got a promotion. (like java.swing)


	* Import classes

		import java.util.ArrayList
		import java.util.*
		import java.net.*
		import javax.swing.*

		...
		ArrayList<String> myList = new ArrayList<String>(); 


	* Full name class

		java.util.ArrayList<String> myList = new java.util.ArrayList<String>(); 


http://docs.oracle.com/javase/6/docs/api/