Buy new:
-22% $46.87
Delivery Tuesday, October 1
Ships from: Amazon.com
Sold by: Amazon.com
$46.87 with 22 percent savings
List Price: $59.99
The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more
FREE International Returns
$9.75 Shipping & Import Charges to Canada Details

Shipping & Fee Details

Price $46.87
AmazonGlobal Shipping $7.30
Estimated Import Charges $2.45
Total $56.62

Delivery Tuesday, October 1. Order within 10 hrs 29 mins
In Stock
$$46.87 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$46.87
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Sold by
Amazon.com
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$38.62
FREE International Returns
Delivery Friday, October 4. Order within 5 hrs 14 mins
Only 2 left in stock - order soon.
$$46.87 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$46.87
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

Effective Java 3rd Edition

4.7 4.7 out of 5 stars 1,533 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$46.87","priceAmount":46.87,"currencySymbol":"$","integerValue":"46","decimalSeparator":".","fractionalValue":"87","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"BcOhXYbOXrlqsz5DzynBGzNmkI4a0pB7kxzQARLuQ%2B9TzxdI6QhhcpdlmgdHly7ma%2BFVPTVTj3aEPxMYlGA7IZpu1LH4PrBkn4CF%2BO0%2BcX9yEfJNnb4g6u1%2Bkma2oqBItVl4wxvRAeyizqT4ermDnA%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$38.62","priceAmount":38.62,"currencySymbol":"$","integerValue":"38","decimalSeparator":".","fractionalValue":"62","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"BcOhXYbOXrlqsz5DzynBGzNmkI4a0pB7WE03QN6UvojoPKBmz55qIjCv9U0kOM0dyRlMf1fncrUS6bXy4s7%2F66Hvo66ILhs%2FiE1yYvkKsNOVHzFVRk94HHyXuOjHMKrkbTmuWFDp3eH19xzLNiRljkhks1ytrLmbrfB0xjSs6GKtuAEJ0HPSlA%3D%3D","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Since this Jolt-award winning classic was last updated in 2008, the Java programming environment has changed dramatically. Java 7 and Java 8 introduced new features and functions including, forEach() method in Iterable interface, default and static methods in Interfaces, Functional Interfaces and Lambda Expressions, Java Stream API for Bulk Data Operations on Collections, Java Time API, Collection API improvements, Concurrency API improvements, and Java IO improvements.

In this new edition of Effective Java, Bloch explores new design patterns and language idioms that have been introduced since the second edition was released in 2008 shortly after Java SE6, including Lambda, streams, generics and collections, as well as selected Java 9 features.

As in previous editions, each chapter consists of several “items” presented in the form of a short, standalone 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.

  • 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
Popular Highlights in this book

From the Publisher

Woman holding Effective Java book

The #1 Book on Java Programming, Most Recommended by Java Programmers

"The book is supremely readable: the style is concise and clear, and the code examples are short and to the point. As a result, Effective Java is a pleasant volume to read through from beginning to end—learning to refine your coding skills as you go. It is one of the very few books I recommend without reservation to all Java programmers who are past the beginner stage." — Andrew Binstock, Java Magazine

"Joshua Bloch does an amazing job explaining best practices and providing detailed insights into how and when to use the different Java features. Effective Java is a must-read for every professional Java developer." — Thorben Janssen

"I’ve been using Java for almost a year now and this book definitely enhanced my understanding on the language and how to use its features more efficiently." — Lucas Pavesi Da Cruz

Editorial Reviews

About the Author

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.

Product details

  • Publisher ‏ : ‎ Addison-Wesley Professional; 3rd edition (December 27, 2017)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 416 pages
  • ISBN-10 ‏ : ‎ 0134685997
  • ISBN-13 ‏ : ‎ 978-0134685991
  • Item Weight ‏ : ‎ 1.5 pounds
  • Dimensions ‏ : ‎ 7.4 x 0.9 x 9 inches
  • Customer Reviews:
    4.7 4.7 out of 5 stars 1,533 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Joshua Bloch
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Joshua J. Bloch (born August 28, 1961) is a software engineer and a technology author, formerly employed at Sun Microsystems and Google. He led the design and implementation of numerous Java platform features, including the Java Collections Framework, the java.math package, and the assert mechanism. He is the author of the programming guide Effective Java (2001), which won the 2001 Jolt Award, and is a co-author of two other Java books, Java Puzzlers (2005) and Java Concurrency In Practice (2006).

Bloch holds a B.S. in computer science from Columbia University and a Ph.D. in computer science from Carnegie Mellon University. His 1990 thesis was titled A Practical Approach to Replication of Abstract Data Objects and was nominated for the ACM Distinguished Doctoral Dissertation Award.

Bloch has worked as a Senior Systems Designer at Transarc, and later as a Distinguished Engineer at Sun Microsystems. In June 2004 he left Sun and became Chief Java Architect at Google. On August 3, 2012, Bloch announced that he would be leaving Google.

In December 2004, Java Developer's Journal included Bloch in its list of the "Top 40 Software People in the World".

Bloch has proposed the extension of the Java programming language with two features: Concise Instance Creation Expressions (CICE) (coproposed with Bob Lee and Doug Lea) and Automatic Resource Management (ARM) blocks. The combination of CICE and ARM formed one of the three early proposals for adding support for closures to Java. ARM blocks were added to the language in JDK7.

Bloch is currently a faculty member of the Institute for Software Research at Carnegie Mellon University, where he holds the title "Professor of the Practice". In addition to his research, Bloch teaches coursework in Software Engineering.

Bio from Wikipedia, the free encyclopedia.

Customer reviews

4.7 out of 5 stars
1,533 global ratings

Customers say

Customers find the book great and a pleasure to read. They appreciate the advanced Java concepts, best practices, and code optimization. Readers describe the writing style as clean, comprehensive, and elegant.

AI-generated from the text of customer reviews

36 customers mention "Book content"36 positive0 negative

Customers find the book great, a pleasure to read, and an information-packed resource.

"This is an amazing book which contains tons of good practical advice for programmers, but more importantly explains the "why" behind various..." Read more

"Great tips!! Excellent content with complete explanations...." Read more

"This is an amazing book, everyone who works with Java or who hires Java developers knows that this book is a must read...." Read more

"Overall, the book is great and the quality is essentially brand new...." Read more

34 customers mention "Information quality"34 positive0 negative

Customers find the book great for advanced Java concepts and guidelines. They say the author is good at explaining things and provides in-depth concepts for middle and senior level programmers. Readers also appreciate the advice and guidelines on lambda, streams, and other new things since Java 7 and beyond.

"...Java for almost a year now and this book definitely enhanced my understanding on the language and how to use its features more efficiently...." Read more

"This is an amazing book which contains tons of good practical advice for programmers, but more importantly explains the "why" behind various..." Read more

"Great tips!! Excellent content with complete explanations...." Read more

"...There are lots of cross references in almost every chapter to other advices, so use color stickers to mark chapters and find specific advice fast." Read more

6 customers mention "Writing style"5 positive1 negative

Customers find the writing style clean, comprehensive, and elegant. They say the author knows his stuff.

"...The writing is clean and comprehensive. I didn’t feel lost on most topics. I was able to follow along pretty consistently...." Read more

"...Great examples and written in the classic opinionated programmer style. Overall, his positions are well argued and concise." Read more

"Well-written and easy to understand" Read more

"Written very well, the author knows his stuff..." Read more

3 customers mention "Update"3 positive0 negative

Customers find the book an excellent update to a classic with up-to-date content.

"Great book with up-to-date content!" Read more

"Great update to the essential classic..." Read more

"Excellent update to a classic..." Read more

great book
5 out of 5 stars
great book
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

Reviewed in the United States on August 29, 2021
I’ve been using Java for almost a year now and this book definitely enhanced my understanding on the language and how to use its features more efficiently. I don’t recommend it as an introduction to the language, but once you do get familiar with its syntax and you start wondering what resource you should turn to improve your understanding of the language and its usability, then read this book!

The writing is clean and comprehensive. I didn’t feel lost on most topics. I was able to follow along pretty consistently. The ones I did struggle with, I just re-read some parts of the passages and looked up some articles that were a little more introductory to what I was reading.

If anyone is wondering how this book fairs on an e-reader, I read this all through a Kindle and I didn’t see any issues with the examples or text.

Finally, if I had to make just one request, I’d say that a few more examples of bad practices vs the good ones would be awesome just to highlight the issues that a passage addresses.

Amazing book nonetheless!
14 people found this helpful
Report
Reviewed in the United States on February 11, 2018
This is an amazing book which contains tons of good practical advice for programmers, but more importantly explains the "why" behind various things you've always heard. There are things I feel I understand after reading this book which I previously only "knew" on the level of a teacher saying "take my word for it."

The book also lets you seen behind the scenes of Java programming in a way you possibly never have before, because Joshua Block is one of the developers behind Java itself, and all the main Oracle supported libraries. As such he can tell you that certain implementations in the standard Java libraries actually violate various best practices (either by accident or because those best practices hadn't emerged at the time of development). Almost always he will note that the problem cannot be fixed due to backward compatibility and has consequences to this day. Very few textbooks actually let you see inside details like this.

No other book I've read gives this kind of insight. And it's not even a hard read.
55 people found this helpful
Report
Reviewed in the United States on May 22, 2023
Great tips!! Excellent content with complete explanations. A must to read no only for Java developers, although the whole books are about Java, I've applied a lot of it's concepts in other languages...
Reviewed in the United States on May 29, 2022
This is an amazing book, everyone who works with Java or who hires Java developers knows that this book is a must read. Not only is it a 'must read', it's also a 'must own'. I refer to this book very often in my job as a developer. And even if this book were 10 times the actual price it would be worth every penny.

Sadly, some marketing genius at Amazon decided to enable 'RENT' option on this book by default! Bravo, sir (or madam) - you justified your ridiculous salary.

If you are reading this please make sure you BUY the actual copy of this book and as a consumer you should search for the best deal available (And of course it's not that rent price that Amazon marketing department is teasing you with).
12 people found this helpful
Report
Reviewed in the United States on September 3, 2018
Overall, the book is great and the quality is essentially brand new. However, I noticed some minor printing defects while reading the book.

For example:
- Some of the text throughout the book is printed either very heavy (with ink) or very light cause some distortion to the text. It is still readable, just slightly messy.
- Around the middle of the book, one of the pages must have been folded over during the cutting of the book as it left basically a protruding "ear' that I have to leave folded over otherwise it sticks out of the pages. It is somewhat small (about a square inch) so it is not very intrusive.
- There are multiple spelling errors throughout the book and one (major one: "Jave" instead of "Java") on the back cover. This may not be a printing error, but I lumped it in here anyway.

No big deal, but I felt it deserved 4 instead of the full 5 stars.
11 people found this helpful
Report
Reviewed in the United States on December 21, 2018
Josh Bloch hasn't lost his touch! He's added many improvements to a valuable resource for Java developers.

1) Try with resources and AutoCloseable. This is an important edition to a Java dev's toolkit since Java 7 and it reduces the possibility of resource allocation and exception handling errors.
2) Stream, and lambdas: Bloch talks about best practices for the most important additions to Java since generics, including, interestingly enough, avoiding using Streams *too much*.
3) Optional and static methods in interfaces. Bloch asks developers to consider usage of Optional carefully for performance reasons.

Oddly enough, he doesn't discuss Java 9 modules that much, but personally I don't mind as I have issues with the way they were implemented.
8 people found this helpful
Report
Reviewed in the United States on April 11, 2021
I'm new to Java and I find the book extremely useful for a developer of any expertise.
Some advices are simply a common sense or general knowledge to experienced programmers, some might seem obvious. But if you're like me, and sometimes need an approval from an expert or community to consider some practises or your own discoveries valid and "right", the book definitely solidify your confidence.
There are lots of cross references in almost every chapter to other advices, so use color stickers to mark chapters and find specific advice fast.
4 people found this helpful
Report
Reviewed in the United States on August 31, 2023
book arrived in an acceptable state, It has some minor tears, but overall I am satisfied with the cost and value proportion.

Top reviews from other countries

Translate all reviews to English
Amazon Customer
5.0 out of 5 stars great book I’m half way through
Reviewed in Canada on August 28, 2023
I thought I knew a lot about java this book proved me wrong I learned a lot just from the first half.
Kel
5.0 out of 5 stars Muito bom!
Reviewed in Brazil on July 28, 2022
Muitas dicas que não são tão acessíveis e que não se acha em um cursinho qualquer, valeu a pena, mas foi um pouco carinho :(
Alberto Banet
5.0 out of 5 stars Un paso más hacia la excelencia con Java
Reviewed in Spain on February 8, 2024
Si ya programas con Java y no sabes cómo mejorar tu código este es un buen libro. Afronta diversas situaciones a las que se enfrenta el programador y ofrece soluciones que se entienden y que arrojan luz sobre algunos aspectos más difíciles y abstractos de la programación.
Very quiet sound. I do not advise
5.0 out of 5 stars Like
Reviewed in the United Kingdom on January 11, 2024
Very useful book
Shaaks
5.0 out of 5 stars Still reading.
Reviewed in India on July 26, 2022
Your knowledge of java will grow like a tree. slow, strong, and in-depth (as the root of a tree.) :D
One person found this helpful
Report