Effective Java

Effective Java

$59.99

SKU: 9780134685991
Quantity Discount
5 + $44.99

Description

  • 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: Lambdas and Streams
  • Chapter 8: Methods
  • Chapter 9: General Programming
  • Chapter 10: Exceptions
  • Chapter 11: Concurrency
  • Chapter 12: Serialization
  • References
  • Index

Completely updated for the most recent releases of Java, this is a must-have reference for any serious Java programmer

  • Presents the most practical, authoritative guidelines available for writing efficient, well-designed programs for the Java platform
  • Completely updated for Java releases since 2008
  • Java programming paradigm has evolved significantly in last 5 years and new material covered in this edition is critical to Modern

The definitive guide to Java programming language best practices from Josh Bloch

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 code examples. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why. While coverage is through Java 9, this guidance covers core Java features every programmer works with, regardless of which version.

  • Concurrency: write clear, correct, well-documented concurrent programs
  • Objects: creating and destroying; common methods
  • Classes and interfaces: guidelines for making them usable, robust, and flexible
  • Generics: tell the compiler what types of objects are permitted in each collection for safer and clearer programs
  • Enums and annotations: two special-purpose families of reference types
  • Functions: break a big job into smaller pieces that might well be written by different people separated by both time and space.
  • Lambdas and streams: create function objects with more ease
  • Method designs: treat parameters and return values; design method signatures; document methods
  • Exceptions: improve a program’s readability, reliability, and maintainability
  • Object serialization: the dangers of serialization and how to minimize them
  • General programming:
    • local variables
    • control structures
    • libraries
    • data types
    • reflection
    • native methods
    • optimization
    • naming conventions

 Programmers still consider this the best book on Java programming today.

 Thoroughly revised and updated to cover language and library features added in Java 7, 8, and 9, and recent trends in Java programming. Many new items have been added, including a chapter devoted to lambdas and streams. New topics include:

–Functional interfaces, lambda expressions, method references, and streams
–Default and static methods in interfaces

–Type inference, including the diamond operator for generic types

–The @SafeVarargs annotation

–The try-with-resources statement

–New library features such as java.time and the convenience factory methods for collections

The Definitive Guide to Java Platform Best Practices—Updated for Java 7, 8, and 9

Java has changed dramatically since the previous edition of Effective Java was published shortly after the release of Java 6. This Jolt award-winning classic has now been thoroughly updated to take full advantage of the latest language and library features. The support in modern Java for multiple paradigms increases the need for specific best-practices advice, and this book delivers.

As 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. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why.

The 3rd 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. Many new items have been added, including a chapter devoted to lambdas and streams.

New coverage includes

  • Functional interfaces, lambda expressions, method references, and streams
  • Default and static methods in interfaces
  • Type inference, including the diamond operator for generic types
  • The @SafeVarargs annotation
  • The try-with-resources statement
  • New library features such as the Optional interface, java.time, and the convenience factory methods for collections

Joshua Bloch is a professor at Carnegie Mellon University. He was formerly the chief Java architect at Google, a distinguished engineer at Sun Microsystems, and a senior systems designer at Transarc. He led the design and implementation of numerous Java platform features, including the JDK 5.0 language enhancements and the Java Collections Framework. He holds a Ph.D. in computer science from Carnegie Mellon University and a B.S. in computer science from Columbia University.

  • Presents the most practical, authoritative guidelines available for writing efficient, well-designed programs for the Java platform
  • Completely updated for Java releases since 2008
  • Java programming paradigm has evolved significantly in last 5 years and new material covered in this edition is critical to modern Java programming

Additional information

Dimensions 0.90 × 7.20 × 8.90 in
Imprint

Format

ISBN-13

ISBN-10

Author

Subjects

java Streams, Y-AH JAVA SERIES, learning java, java book, java training, intermediate java, HTTP 2.0, G1GC, JMH, Jshell, Generics, java Collections, professional, Java SE9, Java SE8, &nbsp, IT Professional, Employability, java programming, java, higher education, jigsaw, Lambda