After completing my first year there's a subject called java in front of us this book is actually referred by our teacher and college syllabus.
After buying that book I started to read and write the programs in java as said complete reference this book is for those who are either beginner or at intermidiate level. This book pretty nice wording and examples to get in java programming easily and covers different aspects of programming. Tutorials are easy to understand of course if you did cleared your object oriented concepts.
Book contain beginning and then move forward to descision making, web, applets, servlets, etc.
And also you can get PDF version of it whenever you want.