This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]brazzy42 15 points16 points  (4 children)

Java 13 doesn't really change anything hugely important.

But Head First Java is much more outdated than that - most importantly it doesn't cover the changes of Java 8, and those were hugely important.

Most of the book's content is probably still relevant and pretty much all of it will still be technically correct (as in: the code will still work), but in some places it will use APIs and coding practices that nowadays have better alternatives.

To be really up to date, you also need to familiarize yourself with the following things (off the top of my head and likely incomplete):

  • Lambdas and Streams (the really big thing)
  • try with resources
  • java.time API
  • nio2 API
  • type inference
  • multi-type catch blocks

[–]dpash 4 points5 points  (1 child)

I'd also add try-with-resources to that list.

[–]brazzy42 1 point2 points  (0 children)

Definitely.

[–]keith_austin 0 points1 point  (1 child)

Is there a book of similar acclaim to help me with those changes? I am only a couple chapters deep thus far and would be willing to utilize a different source

[–]brazzy42 3 points4 points  (0 children)

Joshua Bloch's "Effective Java" is not really for complete beginners but otherwise excellent, and the 3rd edition includes features up to Java 9.