It took me a bit to understand a lot of what the book was saying until I actually started writing my own programs and using the knowledge the book imparts.
If you don't want to buy any book or go to the local library to check em out, do a google search for "cs151 java tutorial" minus the quotes and you'll be led to an excellent online tutorial complete with exercises and quizzes.
But honestly I think the best way is to bookmark the latest API from Sun and get a hold of an OS project written in java that interests you. You'll come across custom methods that you have to figure out the workings of, you'll come across new concepts (I just discovered the wonderful world of Collections, and successfully explored the ability to put a Hashtable inside a Hashtable, fun stuff. Almost like databasing), and most of all you'll most likely have fun doing it while working on something you believe in.
I'm not discounting the books as I've read them and pretty much understand them, but explore other avenues so you get experience reading and writing code, and seeing how other people who are more experienced work. Pretty much the same with any trade you pick up.
Originally posted by jacob rich:
i was wondering...ive been reading head first java second ed. for awhile, and im not really picking up much of the coding concepts thus far...i really only have a tiny bit of qbasic and vb background and i know html to almost the full extent...i just dont get what im missing besides doing the examples but most of them are obvious...im in chapter 10 now its getting more confusing each chapter...i was wondering if anyone knew of a few tips or tricks i could follow to enhance my learning experience...or it might just be im not done with the book.
Write lots and lots of code. Code until your eyes start bleeding, then write some more. You can't learn how to program by just reading.