Java is a good programming language and you should need good books to learn from. Complete Reference on Java is good book. The author has written book with good understanding of the Concepts and good examples. I would suggest to follow the example and even try in any Java IDE , it really helps to understand concepts. Understanding Core concept of java is important while learning advance java you need core java concepts to understand more complex concepts of Advance Java like Servlets,JSP and many more.
The Core Java e book is very helpful and if you need to download here is the link of the latest edition of the book
Core Java Book
The Core Java e book is very helpful and if you need to download here is the link of the latest edition of the book
Core Java Book