What are the best ways to learn and understand Java and what books are good for this?
Best way to learn Java is start from basic.Get a clear picture
about JVM and JRE.Even if you write a simple program,try to
understand what happens behind your code.I suggest you to read more
about java at http://allinalljava.blogspot.com. At first while
writing your code attach java source behind ,due to that you can
easily admire real scenario happen in it.
I suggest you try http://academicjava.com. It's a resource of
many example programs with explanations and there's a very good
tutorial.
"Head first JAVA" is the book I recommend but it's a question of
what's best for you. Go to a good bookshop and browse what's
available.
At first, i would like to tell you the BEST way to learn JAVA is
just "Type Java programs n execute them". start with simple
programs...
"Head first JAVA" - It is the one of the best book to learn
Java.
If you want to understand Java's advantages elaborately , then u
can refer this page too
http://www.artima.com/insidejvm/ed2/
Best way to learn java is think of something real-world that you
understand well and can automate. Write something like an
electronic recipe organizer. The best book? Do a google search for
"Java, The Complete Reference, J2se" Good luck!
That is a good book. Also try "Java In A Nutshell" from O'Reiley
books. It makes an excellent quick reference and is very
straightforward.
Yes, these are great resources and adding one more resource to
the list which i found helpful while starting with Java --> the
tutorials from Sun. You can find them here
http://java.sun.com/docs/books/tutorial/
Happy Learning : )