Book description
Are you looking for a deeper understanding of the Java™ programming language so that you can write code that is clearer, more correct, more robust, and more reusable? Look no further! Effective Java™, Second Edition, brings together seventy-eight indispensable programmer’s rules of thumb: working, best-practice solutions for the programming challenges you encounter every day.
This highly anticipated new edition of the classic, Jolt Award-winning work has been thoroughly updated to cover Java SE 5 and Java SE 6 features introduced since the first edition. Bloch explores new design patterns and language idioms, showing you how to make the most of features ranging from generics to enums, annotations to autoboxing.
Each chapter in the book consists of several “items” presented in the form of a short, standalone essay that provides specific advice, insight into Java platform subtleties, and outstanding code examples. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why.
Highlights include:
New coverage of generics, enums, annotations, autoboxing, the for-each loop, varargs, concurrency utilities, and much more
Updated techniques and best practices on classic topics, including objects, classes, libraries, methods, and serialization
How to avoid the traps and pitfalls of commonly misunderstood subtleties of the language
Focus on the language and its most fundamental libraries: java.lang, java.util, and, to a lesser extent, java.util.concurrent and java.io
Simply put, Effective Java™, Second Edition, presents the most practical, authoritative guidelines available for writing efficient, well-designed programs.
Table of contents
- Title Page
- Copyright Page
- Contents
- Dedication
- Foreword
- Preface
- Acknowledgments
- Chapter 1 Introduction
- Chapter 2 Creating and Destroying Objects
- Chapter 3 Methods Common to All Objects
- Chapter 4 Classes and Interfaces
- Chapter 5 Generics
- Chapter 6 Enums and Annotations
- Chapter 7 Methods
- Chapter 8 General Programming
- Chapter 9 Exceptions
- Chapter 10 Concurrency
- Chapter 11 Serialization
- Appendix: Items Corresponding to First Edition
- References
- Index
Product information
- Title: Effective Java, 2nd Edition
- Author(s):
- Release date: May 2008
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780137150021
You might also like
book
Effective Java, 3rd Edition
Since this Jolt-award winning classic was last updated in 2008, the Java programming environment has changed …
book
Java in a Nutshell, 7th Edition
This updated edition of Java in a Nutshell not only helps experienced Java programmers get the …
book
Head First Java, 3rd Edition
What will you learn from this book? Head First Java is a complete learning experience in …
book
Learning Java, 4th Edition
Java is the preferred language for many of today’s leading-edge technologies—everything from smartphones and game consoles …