Book description
Ideal for working programmers new to Java, this best-selling book guides you through the language features and APIs of Java 21. Through fun, compelling, and realistic examples, authors Marc Loy, Patrick Niemeyer, and Dan Leuck introduce you to Java's fundamentals, including its class libraries, programming techniques, and idioms, with an eye toward building real applications.
This updated sixth edition expands the content to continue covering lambdas and streams, and shows you how to use a functional paradigm in Java. You'll learn about the latest Java features introduced since the book's fifth edition, from JDK 15 through 21. You'll also take a deep dive into virtual threads (introduced as Project Loom in Java 19).
This guide helps you:
- Learn the structure of the Java language and Java applications
- Write, compile, and execute Java applications
- Understand the basics of Java threading and concurrent programming
- Learn Java I/O basics, including local files and network resources
- Create compelling interfaces with an eye toward usability
- Learn how functional features have been integrated in Java
- Keep up with Java developments as new versions are released
Publisher resources
Table of contents
- Preface
- 1. A Modern Language
- 2. A First Application
- 3. Tools of the Trade
- 4. The Java Language
- 5. Objects in Java
- 6. Error Handling
- 7. Collections and Generics
- 8. Text and Core Utilities
- 9. Threads
- 10. File Input and Output
- 11. Functional Approaches in Java
- 12. Desktop Applications
- 13. Network Programming in Java
- A. Code Examples and IntelliJ IDEA
-
B. Exercise Answers
- Chapter 1: A Modern Language
- Chapter 2: A First Application
- Chapter 3: Tools of the Trade
- Chapter 4: The Java Language
- Chapter 5: Objects in Java
- Chapter 6: Error Handling
- Chapter 7: Collections and Generics
- Chapter 8: Text and Core Utilities
- Chapter 9: Threads
- Chapter 10: File Input and Output
- Chapter 11: Functional Approaches in Java
- Chapter 12: Desktop Applications
- Chapter 13: Network Programming in Java
- Glossary
- Index
- About the Authors
Product information
- Title: Learning Java, 6th Edition
- Author(s):
- Release date: August 2023
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098145538
You might also like
book
Learning Java, 4th Edition
Java is the preferred language for many of today’s leading-edge technologies—everything from smartphones and game consoles …
book
Head First Java, 3rd Edition
What will you learn from this book? Head First Java is a complete learning experience in …
book
Java in a Nutshell, 7th Edition
This updated edition of Java in a Nutshell not only helps experienced Java programmers get the …
book
Effective Java, 3rd Edition
Since this Jolt-award winning classic was last updated in 2008, the Java programming environment has changed …