
Goals, marketing focus, or branding interests), please contact our corporate sales department or (800) 382-3419.įor government sales inquiries, please contact questions about sales outside the U.S., please contact us on the Web: /aw Include electronic versions custom cover designs and content particular to your business, training Incidental or consequential damages in connection with or arising out of the use of the information orįor information about buying this title in bulk quantities, or for special sales opportunities (which may Warranty of any kind and assume no responsibility for errors or omissions. The author and publisher have taken care in the preparation of this book, but make no expressed or implied Where those designations appear in this book, and the publisher was aware of a trademarkĬlaim, the designations have been printed with initial capital letters or in all capitals. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as New library features such as the Optional interface, java.time, and the convenience factory methods for collections.Type inference, including the diamond operator for generic types.Default and static methods in interfaces.Functional interfaces, lambda expressions, method references, and streams.Many new items have been added, including a chapter devoted to lambdas and streams. The third edition covers language and library features added in Java 7, 8, and 9, including the functional programming constructs that were added to its object-oriented roots. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why. The support in modern Java for multiple paradigms increases the need for specific best-practices advice, and this book delivers.Īs in previous editions, each chapter of Effective Java, Third Edition, consists of several “items,” each presented in the form of a short, stand-alone essay that provides specific advice, insight into Java platform subtleties, and updated code examples.

This Jolt award-winning classic has now been thoroughly updated to take full advantage of the latest language and library features.

Java has changed dramatically since the previous edition of Effective Java was published shortly after the release of Java 6. The Definitive Guide to Java Platform Best Practices–Updated for Java 7, 8, and 9
