from Hacker News

Ask HN: What is the best resource to learn JAVA

by wpmoradi on 9/5/18, 4:15 PM with 10 comments

Hi guys, I am already pretty familiar with Python, but would liek to learn Java - do you guys have any great resources you want to recommend?

Thanks in advance,

  • by jryan49 on 9/6/18, 5:15 PM

    After you get some Java under your belt try Effective Java and Java Concurrency in Practice. Also I read the Javadocs for all the built in libraries like java.util [1] and the Javadocs for the stream api [2]. After that I read the language spec, and the memory model spec.

    1: https://docs.oracle.com/javase/8/docs/api/java/util/package-... 2: https://docs.oracle.com/javase/8/docs/api/java/util/stream/p...

  • by mpetkevicius on 9/6/18, 8:01 AM

    I personally quite liked Java: The Complete Reference by Herbert Schildt – as the name suggests, it covers most of the topics relevant to Java developers, including some outdated ones.

    Head First Java by Kathy Sierra is also a decent introduction to the language, though much more limited and outdated.

    Oracle also has on-line Java tutorial which I regularly visit during development. However the content is more scattered than in a book.

  • by brezenix on 9/5/18, 5:54 PM

    Introduction to Java Programming: http://www.ntu.edu.sg/home/ehchua/programming/java/J1a_Intro...

    There are more materials.

  • by HiroshiSan on 9/5/18, 4:24 PM

    I'm reading Think Java: http://greenteapress.com/wp/think-java/

    so far so good, I like it for it's size. I wanted an introductory text that wasn't 1000 pages.

  • by charmides on 9/8/18, 2:31 AM

    If you tell me why you would like to learn Java, then I could help you find the appropriate resources.