For serious programmers, Core Java, Volume I—Fundamentals, Eleventh Edition, is the definitive guide to writing robust, maintainable code. Whether you’re using Java SE 9, 10, or 11, it will help you achieve a deep and practical understanding of the language and API, and its hundreds of realistic examples reveal the most powerful and effective ways to get the job done.
Cay Horstmann’s updated examples reflect Java’s long-awaited modularization, showing how to write code that’s easier to manage and evolve. You’ll learn how to use JShell’s new Read-Eval-Print Loop (REPL) for more rapid and exploratory development, and apply key improvements to the Process API, contended locking, logging, and compilation.
In this first of two volumes, Horstmann offers in-depth coverage of fundamental Java and UI programming, including objects, generics, collections, lambda expressions, Swing design, concurrency, and functional programming. If you’re an experienced programmer moving to Java SE 9, 10, or 11, there’s no better source for expert insight, solutions, and code.
- Master foundational techniques, idioms, and best practices for writing superior Java code
- Leverage the power of interfaces, lambda expressions, and inner classes
- Harden programs through effective exception handling and debugging
- Write safer, more reusable code with generic programming
- Improve performance and efficiency with Java’s standard collections
- Build cross-platform GUIs with the Swing toolkit
- Fully utilize multicore processors with Java’s improved concurrency
See Core Java, Volume II—Advanced Features, Eleventh Edition (ISBN-13: 978-0-13-516631-4, coming in 2018), for expert coverage of Java 9, 10, and 11 enterprise features, the module system, annotations, networking, security, and advanced UI programming.
Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
Table of Contents
Chapter 1: An Introduction to Java
Chapter 2: The Java Programming Environment
Chapter 3: Fundamental Programming Structures in Java
Chapter 4: Objects and Classes
Chapter 5: Inheritance
Chapter 6: Interfaces, Lambda Expressions, and Inner Classes
Chapter 7: Exceptions, Assertions, and Logging
Chapter 8: Generic Programming
Chapter 9: Collections
Chapter 10: Graphical User Interface Programming
Chapter 11: User Interface Components with Swing
Chapter 12: Concurrency