This book is a comprehensive collection of Java knowledge organised in 13 chapters. It covers pretty much all the major challenges a Java developer comes across when developing modern business applications:
Chapter 2: Objects, Immutability, Switch Expressions, and Pattern Matching
Chapter 3: Working with Date and Time
Chapter 4: Records and Record Patterns
Chapter 5: Arrays, Collections, and Data Structures
Chapter 6: Java I/O: Context-Specific Deserialization Filters
Chapter 7: Foreign (Function) Memory API
Chapter 8: Sealed and Hidden Classes
Chapter 9: Functional Style Programming - Extending API
Chapter 10: Concurrency - Virtual Threads and Structured Concurrency
Chapter 11: Concurrency - Virtual Threads and Structured Concurrency: Diving Deeper
Chapter 12: Garbage Collectors and Dynamic CDS Archives
Chapter 13: Socket API and Simple Web Server
Each chapter contains a number of curated challenges or problems and the associated solutions. Not only for modern JDKs but also going back to Java 8 giving the reader a very comprehensive overview of problem solving strategies in the various Java versions. The book has a staggering 785 pages and contains an uncountable number of info-boxes and detailed figures to make understanding of solutions easier for the reader. You can find the source code for the book on GitHub: https://github.com/PacktPublishing/Java-Coding-Problems-Second-Edition
What I particularly enjoyed about this book was the way it presented each problem in a clear and concise manner. Anghel provided a detailed explanation of the concept behind each exercise, making it easy for readers to grasp the underlying principles. Additionally, the solutions were well-structured and easy to follow, providing a great reference point for those looking to implement their own solutions.
One of my favorite aspects of this book was its focus on real-world problems. Anghel has done an excellent job of including scenarios that developers will encounter in their daily work, making it a valuable resource for anyone looking to improve their Java skills.
In terms of the writing style, I found Anghel’s approach to be clear and concise, with a touch of humor. He presents complex concepts in a way that’s easy to understand, making it an enjoyable read for both beginners and experienced developers. The way the book is structured makes it enjoyable both as a learning resource but also as a problem encyclopedia.
Overall, I highly recommend “Java Coding Problems, Second Edition” to anyone looking to improve their Java skills or looking for a resource to help them prepare for coding challenges. It’s a well-structured book that provides a comprehensive set of practical exercises, along with clear explanations and solutions.
Book: "Java Coding Problems, Second Edition"
Language : English
Paperback: 785 pages
Release Date : March 19, 2024
ISBN-10: 1837633940
ISBN-13: 978-1837633944
About the Author
Anghel Leonard is a Chief Technology Strategist and independent consultant with 20+ years of experience in the Java ecosystem. In daily work, he is focused on architecting and developing Java distributed applications that empower robust architectures, clean code, and high-performance. Also passionate about coaching, mentoring and technical leadership. He is the author of several books, videos and dozens of articles related to Java technologies. You can find him on Twitter: @anghelleonard and on GitHub: https://github.com/AnghelLeonard.