Java API Documentation: This is a dictionary of all the classes available in the Java libraries, together with all their methods and attributes.
The Java Tutorial: This teaches you how to program in Java, using examples. You probably should look at Trails Covering the Basics.