The Java Tutorials
The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications. They include hundreds of complete, working examples, and dozens of lessons. Groups of related lessons are organized into "trails."
The Java Tutorials have been written for JDK 8. Examples and practices described on this page don't take advantage of improvements introduced in later releases.