This is Herb's most popular book on Java, fully updated and expanded
to cover Java SE 8 (JDK 8).

Whether you're an experienced pro or just starting out, this one-stop
guide will help you master this important language. Inside you'll find comprehensive coverage of the Java language,
its keywords, syntax, and fundamental programming principles. Of course,
descriptions of Java's newest
features, such as lambda expressions, default interface methods, and the
stream API are included.

If you are just learning Java, then this is the book for you.
It starts at the beginning, explaining the history of Java, why it's
important to the Web, and how it relates to the world of programming at
large. You then learn how to obtain the Java Development Kit (JDK)
and write your first Java program.

Next, it's on to the Java fundamentals, including data types,
operators, control statements, classes, objects, and methods.
You'll then progress to more advanced topics, such as inheritance,
exception handling, the I/O system, multithreading, applets, and
lambda expressions.

Also included is coverage of some of Java's most powerful features,
such as generics, autoboxing, enumerations, and static import. An
introduction to JavaFX, Java's newest GUI framework, is also included.

Herb Schildt's Java Programming
Cookbook

For years, friends and readers have been asking Herb to write a
cookbook on Java. Finally, he did!

Based on the well-known "cookbook" format, each
"recipe" shows how to accomplish a practical programming task.
Organized for quick reference, a recipe begins with a list of key
ingredients (classes, methods, and interfaces) followed by step-by-step
instructions that show how to assemble them into a complete solution.
Detailed discussions explain the "how and why" behind each
step. A full code example puts the recipe into action. Each recipe ends
with options and alternatives that suggest ways to adapt it to fit a
variety of situations.

Immediately after finishing his Java cookbook, Herb moved on to C++.
The result is Herb's C++ Programming Cookbook.

Based on the same well-known "cookbook" format as his Java
Programming Cookbook, each
"recipe" shows how to accomplish a practical programming task.
Organized for quick reference, a recipe begins with a list of key
ingredients (classes, functions, and headers) followed by step-by-step
instructions that show how to assemble them into a complete solution.
Detailed discussions explain the "how and why" behind each
step. A full code example puts the recipe into action. Each recipe ends
with options and alternatives that suggest ways to adapt it to fit a
variety of situations.

Topics include:

String handling

Standard Template Library (STL)
containers

Algorithms

Function objects

Binders, negators, and iterator adaptors

File handling

Custom I/O manipulators

Overloading inserters and extractors

Formatting data

Overloading [ ], ( ), and ->

Facets and the localization library

Also recently released:

Java
Programming: A Comprehensive Introduction, co-authored with Dale Skrien. It
is part of
McGraw-Hill's College Programming Series.