0%

Clear, Concise Guide to the Core Language and Libraries--Updated through Java 17

Modern Java introduces major enhancements that impact the core Java technologies and APIs at the heart of the Java platform. Many old Java idioms are no longer needed, and new features and programming paradigms can make you far more effective. However, navigating these changes can be challenging.

Core Java for the Impatient, Third Edition, is a complete yet concise guide that reflects all changes through Java SE 17, Oracle's latest Long-Term Support (LTS) release. Written by Cay S. Horstmann--author of the classic two-volume Core Java--this indispensable tutorial offers a faster, easier pathway for learning modern Java.

Horstmann covers everything working developers need to know, including the powerful concepts of lambda expressions and streams, modern constructs such as records and sealed classes, and sophisticated concurrent programming techniques. Given the size and scope of Java 17, there's plenty to cover, but it's presented in small chunks organized for quick access and easy understanding, with plenty of practical insights and sample code to help you quickly apply all that's new.

  • Test code as you create it with JShell

  • Improve your object-oriented design with records and sealed classes

  • Effectively use text blocks, switch expressions, and pattern matching

  • Understand functional programming with lambda expressions

  • Streamline and optimize data management with the Streams API

  • Use modern library features and threadsafe data structures to implement concurrency reliably

  • Work with the modularized Java API and third-party modules

  • Take advantage of API improvements for working with collections, input/output, regular expressions, and processes

  • Learn the APIs for date/time processing and internationalization

Whether you're an experienced developer just getting started with modern Java, or have been programming with Java for years, this guide will help you write more robust, efficient, and secure Java code.

Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

..

Table of Contents

  1. Cover Page
  2. About This eBook
  3. Halftitle Page
  4. Title Page
  5. Copyright Page
  6. Pearson’s Commitment to Diversity, Equity, and Inclusion
  7. Dedication Page
  8. Contents
  9. Preface
  10. Acknowledgments
  11. About the Author
  12. Chapter 1. Fundamental Programming Structures
  13. Chapter 2. Object-Oriented Programming
  14. Chapter 3. Interfaces and Lambda Expressions
  15. Chapter 4. Inheritance and Reflection
  16. Chapter 5. Exceptions, Assertions, and Logging
  17. Chapter 6. Generic Programming
  18. Chapter 7. Collections
  19. Chapter 8. Streams
  20. Chapter 9. Processing Input and Output
  21. Chapter 10. Concurrent Programming
  22. Chapter 11. Annotations
  23. Chapter 12. The Date and Time Api
  24. Chapter 13. Internationalization
  25. Chapter 14. Compiling and Scripting
  26. Chapter 15. The Java Platform Module System
  27. Index
  28. Code Snippets
3.138.105.124