*Y* said:
Are there any books which are actually fun and provide hand on experince?
You might try
http://www.informit.com/bookstore/p...aid=548c5149-507f-4cb4-b186-c6c7500def22&rl=1
I used the Deitel 3rd edition along time ago and it was great. They now have the 6th edition out, but the How to Program series is pretty heavy duty. The tutorial driven, I heard, is alot easier and more fun for someone just starting out.
There was another book I used along time ago; I think it was like Java from Scratch. That was alright, but I remember it having a lot of errors. If they ever released a new version, I am sure they fixed them by now. It had you building an Stock Market application that connected to the web. Don't worry. It guided you step-by-step and started out extremely basic.
If you are using an ide to learn to program, the introduction to Java with JBuilder was good. Again, it was awhile ago and I don't know if its been updated. Again, I had found some typos in the early edition I had. I did contact the author and he said he was going to correct them in a later edition.
If you are looking for something a little more involved, but not as fun and not as serious as the Dietel how to program, the Ivor Horton Java book from wrox was good, too.
If you are looking for something free, there was a first application tutorial on sun.java.com that had you build a scuba diving program. It was a good intro, but the later chapters were very slow to come out. I do not know if they ever finished the series.
The Java Studio Creator has a free 30 day trial for an easy way to learn to build web apps, so you might want to check that out if you are interested in web related programming. However, the program does most of the work, so you miss out on a lot of the fine art of learning to program.
Also, check out JBuilder, NetBeans, and/or Eclipse, but again the ide does alot of the leg work for you and you probably want to learn it on your own.
Hope this helps!