One of my friend is working as a faculty teaching java. He needs some assignments which he can give to students to learn java step by step. I pointed him to the assignments in javaranch. He has gone through the same. I tried googling and could not find any good set of assignments for code java. Can anyone help me out on this one?
On the Java Ranch, there is a course called the "Cattle Drive". You don't have to take this course, but my point is that they use a book called "Just Java". The 6th edition is current -- it covers Java 5.0. The 5th edition could be a good place to start because it covers Java version 1.4 (aka version 4.0) which is less to learn (for starters) and the 5th edition is much less inexpensive and is available on amazon.com
Disclaimer: I haven't actually taken the "Cattle Drive" course. Perhaps someone knowledgeable about the book "Just Java" could comment as to whether the book contains the exercises or whether they come from the "Cattle Drive".
I suggest the Sun webserver, at least the code posted there is intended for people to look at it.
"Introduction to Programming Using Java" is a free, on-line textbook on introductory programming by Davied Eck. The site uses Java as the language of instruction. This book is directed mainly towards beginning programmers.
The author is remarkably effective at maintaining a clear style and has a website at: