r/javahelp • • Mar 02 '21

Codeless Best resource to learn Java 14 ?

Like I have not any experience with java before. However I have intermediate knowledge of javascript and python. My new job needs me to work on java 14. So what is the best approach to start learning that ? Sorry if the question sounds stupid.

21 Upvotes

22 comments sorted by

View all comments

15

u/mayur217 Mar 02 '21

I would suggest don't focus on a particular version of java. The only major differences between versions are some changes in it's libraries and some internal tweaks. To get going quickly, I would suggest start with any free resource you can get your hands on. Go for Java 8 and above. The newer a version of java is, the more difficult and expensive it would be to find it's resources. The core concepts hardly ever change and any library upgrades there might be in later versions, could be easily understood if you have a good understanding of the core functionality.

Try "Java the complete reference" book by Hebert Schildt. I recently read it's 11th edition and liked it.

Many would suggest Udemy Course by Tim Buchalka, but I wouldn't go for it if I was a beginner. It's great for someone with some prior exposure to Java.

And finally, type it out, as much as you can. You can read about concepts all day long, but if you don't have the habit of quickly typing out the ideas you have in your head, it won't do you any good.

5

u/see_recursion Mar 02 '21

The only major differences between versions are some changes in it's libraries and some internal tweaks.

I'm not sure if I agree with that. Java 8 was a pretty significant change. OP should definitely focus on 8+, but hopefully won't have to learn too much about those newer features initially.

1

u/khmarbaise Mar 02 '21

I think it was related to JDK8 up to JDK13... or maybe more recent... if you think about JDK7 vs. JDK8 then absolute agree.. but starting with less than JDK8 does simply no sense anymore..

2

u/see_recursion Mar 02 '21

Someone just learning should consider starting with Java 15 simply for the massive improvement in NullPointerException diagnostics.

1

u/khmarbaise Mar 02 '21

Someone just learning should consider starting with Java 15 simply for the massive improvement in NullPointerException diagnostics. Not that much agreement here because there are so many things with JDK8 out there ... unfortunately not many have yet migrated to go to JDK11 + ... or even worse prepared for JDK17 in september.

1

u/see_recursion Mar 02 '21

To me decent NPE diagnostics are invaluable in tracking down failures. The delta between 15 and whatever 8+ version is used in production is pretty damn small. I'm not sure of a significant disadvantage of using 15 to learn on.