Good tutorials/books for Java for the programmer with python background
<p>Lately I have come to realize that I should know some of Java for programming ( I want to program in android). When I read all the tutorials and some free e-books, they either assume no programming experience or assume the reader to come from C/C++ background. Since I am used to python and MATLAB for a long time, the strong-typed C/C++ is clumsy for me to follow. Is there any tutorials/book some of you folks know that assumes reader to be a python programmer and guides him through Java showing the similarities and differences between the two languages?</p>

<p>I referred to following books and websites:</p>

<p><a href="http://math.hws.edu/javanotes/" rel="nofollow">Introduction to programming using Java by David J. Eck</a> , which is nice but assumes little/no programming experience and have to go through many pages to get the basic.</p>

<blockquote>
  <p>Java for Beginners by Ricardo Flask</p>
</blockquote>

<p>This books moves to and fro without talking about user's background and other things.</p>

<p>This being said, I would like the book to answer few things like this right away and take through programming in Java:</p>

<p>-Why a function can be implemented without adding it to class in Java which can be done in python?
-What are the scope of various variables, their definition and how are they different from python?</p>

<p>These are few things python programmer will look in my opinion, when they try to see to Java.</p>

<p>Please suggest any materials that will help learning Java for python programmers.</p>
