Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Recommended book for java newblet?

  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Recommended book for java newblet?

    So I've been learning java over the past few weeks via Stanford's CS106a class on youtube, and now that ive had some time over the christmas holidays Ive had plenty of time to work learning some more. And although I do end up heading back to school this week, Im planning to work on programming at night when I get a chance. And although the videos are going great, I still end up trying to google things like syntax and errors when Im lost and the videos don't mention anything about the situation. So my question is, can anyone recommend a good book that would aid me in learning java? It seems like a good portion of the review pages I look at don't seem current, which makes me worry I might end up with an outdated book. Also, free e-book or physical copy, I don't care, but Im not a big fan of paying for an e-book.

    Thanks for any recommendations!


    And for something completely off topic, but I don't want to make an extra post for this small question, I see peoples code where they have something like

    system.out.println("words,words");

    While the Stanford videos (atleast until video 6) mention nothing about having to have the "system.out.", and so far not having that has worked just fine for me. So is there something Im missing here, whats the deal with this?


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Recommended book for java newblet?

    System I believe refers to the system that is actually running the program, out is the output stream (it can be changed). I'm not sure why they decided to omit it, I always include it to clarify my code (don't know why, but probably mostly out of habit, and to make my code easier for me to understand).

    There's Sun's Java Tutorials. They cover most of the basics of programming in Java, as well as go into some of the GUI and API stuff. I have found their tutorial quite a mouthful, though, especially if you don't have some previous background in object oriented programming.

    As always, you're welcome to ask any questions you have here

  3. #3
    Java kindergarten chronoz13's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    659
    Thanks
    177
    Thanked 30 Times in 28 Posts

    Default Re: Recommended book for java newblet?

    hey i like this topic... i used to encounter some publishing errors like for example,

    when i was about to read a chapter in my book.. the chapter introduce something about JOPtionPane for input routines, but after i finish reading that chapter i never encountered anything about JoptionPane..
    that particular chapter only discussed about Scanner class (but thankfully i know a bit something about JOPtionaPane class, learned from school).


    and most of all i never used to code this one that the book use to define in every input routines
    //assuming that the scanner is an object already created for the Scanner class
    scanner.useDelimiter(System.getProperty("line.separator");

    using this statement, i used to encounter some input or some logical - input errors, like skipping a part,
    like duplicating an output, so i dont know exactly what this statement supposed to do with my input routines,..


    anyway the book that im reading is an international edition of McGRAW-HILL

    i would agree to what helloworld have said, you can see and learn a lot in sun java tutorials....
    Last edited by chronoz13; January 5th, 2010 at 05:22 AM.

Similar Threads

  1. Help with JAVA (Grade Book)
    By Sara_21 in forum Java Theory & Questions
    Replies: 2
    Last Post: November 30th, 2009, 10:16 PM