If you can't afford a book,
see Sun's tutorial. If you can afford a book, I always recommend Head First Java by Kathy Sierra and Bert Bates, but of course there's many out there to choose from.
Practice, practice, practice. We're here to help with your Java problems, but we refrain from giving homework answers - in other words, when posting your issues please make a valid attempt at your problem before asking for assistance. We can only help you if you first help yourself. When posting your code for us to view, it helps to see your code in the correct format - thus please use
code tags when posting your code.
Make great use of this site's search feature, as well as the Internet search engines. There's a splendid couple of forums in this site, namely the Java Tips and Java Tutorials, these two sections contain a wealth of information for both the beginner and pro alike.
Please see the
FAQ for more pertinent information.
Welcome to the Java Forums!
See you around!
-Capt