********* True pdf – final release ****************
New in This Edition (Java 11, 12, 13, 14)
This edition of the book continues our tradition of rework to be as complete and upto- date as possible. It incorporates changes from both the Java 11—again, the long-term support version—and Java 12, 13, and 14 feature releases. (More on the specifics of the Java features included and excluded in recent releases in Chapter 13.) New topics in this edition include:
• New language features, including type inference in generics and improved exception handling and automatic resource management syntax
• New interactive playground, jshell, for trying out code snippets
• The proposed switch expression
• Basic lambda expressions
• Updated examples and analysis throughout the book
If you’re new to Java—or new to programming—this best-selling book will guide you through the language features and APIs of Java 14. With fun, compelling, and realistic examples, authors Marc Loy, Patrick Niemeyer, and Daniel Leuck introduce you to Java fundamentals—including its class libraries, programming techniques, and idioms—with an eye toward building real applications.
You’ll learn powerful new ways to manage resources and exceptions in your applications—along with core language features included in recent Java versions.
Develop with Java, using the compiler, interpreter, and other tools
Explore Java’s built-in thread facilities and concurrency package
Learn text processing and the powerful regular expressions API