Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Possible Duplicate:
Best Java book you have read so far

I want to learn java but, I have absolutely no coding experience.

what is the best website, book, or anything that is best at teaching java?

share|improve this question

migrated from stackoverflow.com Sep 28 '11 at 3:04

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Robert Harvey, Anna Lear Sep 28 '11 at 3:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
With no coding experience, you are ripe to have a positive Haskell learning experience. Is learning Java in particular required by some neccesity, or did you decide that learning Java equates to learning programming? If the latter, consider Haskell. If the former, my heart goes out to you. :) –  Michael Litchard Sep 28 '11 at 2:39
4  
If, on the other hand, you'd like to learn a language that you have a decent chance of actually using professionally: tiobe.com/content/paperinfo/tpci/index.html –  Ryan Stewart Sep 28 '11 at 2:42
    
And to combine the suggestions of the two above me: Learn a little from various languages. The more styles you're exposed to, the better you can program. It's fine if you're a "Java programmer" or a "Haskell programmer" but don't be just that. –  BlackJack Sep 28 '11 at 3:09
    
Stanford has a class online... see.stanford.edu/see/… –  Joe Internet Sep 28 '11 at 7:28

3 Answers 3

Java Tutorials are your best resource. Start with "Trails Covering the Basics" and move on to the other tutorials as you see fit.

And of course the Java API for reference:

share|improve this answer

Download JAVA, and get into it, that is the best way to learn anything.

When I began learning Java I started here, there are some nice tutorials that go over all the basics on the bottom of the page.

JavaRanch - Java Hello World, + Tutorials

Instead of giving you code to copy they give you what the output should be and links to the techniques you should use.

Also to make sure you aren't making things to complicated some of them say this should be done in X amount of lines.

share|improve this answer

I would strongly suggest that you check local community colleges and technical schools for classes.

You are not likely to learn how to program well without some formal education. Yes, without a formal education you can learn to copy code from examples and modify it, but that's not nearly the same thing.

share|improve this answer
1  
I disagree, there are so many online resources for learning Java that a structured classroom environment really won't do too much for you if you have the willpower to learn it on your own. Plus you will save yourself quite a bit of money. –  tkeE2036 Sep 28 '11 at 2:46
    
Well, I disagree with your disagreement. A few people are able to learn on their own, but it's a relatively small number (and getting smaller, percentage-wise, all the time). Think of how many people here DON'T know how to program, even though they're creating complex monstrosities. –  Daniel R Hicks Sep 28 '11 at 2:53