You don't need to buy it if you don't want to. Go to www.bruceeckel.com to download an HTML version. It's not as portable, but it's very helpful, and the price is right. ------------------ Tom McComb
Joined: May 25, 2001
Ok, I donwloaded the book, I shall try reading it and if I find it as good/useful as people say it is I shall buy it. Still unsure of what the best book is though, I looked on amazon and most of the books that people have recommended dont have a very high rating, I guess its different to everyone, I am just going to have to find the book that is most useful to me. Thanks for your help though.
Joined: Sep 29, 2000
The downloadable book is "Thinking in Java" - gets expensive just printing it - so try to read it online if possible. Actually I have BOTH (bought Thinking in Java as well as Just Java 2 plus a few zillion more).
My feeling is that there is no one best book. I've found for my self that while being a more expensive route, having a small library is an imense help. Bruce Eckels books are great books once you already have a feel for the language. By this I mean that Thinking in JAVA is more of a book to read along with or after you have read one of the beginners books. My first choice of beginners books is Ivor Hortons Beginning JAVA2 (WROX), but I'm also reading Learning JAVA (O'Reilly),Core Java (SunPress)and Beginning JAVA Objects (WROX). Rather then read one book from cover to cover, I'll read a few chapters from one, and then check out what the others have to say on the subject. This has helped to clear up concepts that I get a little lost in, like inner classes. If you like Bruces book consider getting his seminar on CD, available on his web site. Again this is a more expensive route, but it can be a nice option to sit back and let some one explain a concept to you rather then reading about it. The CD aslo includes an electronic copy of the book. ------------------ Regards Bob63
Ivor Horton's book looks good but I lost trust in it when I saw around page 34 it said that there was no set default values for variables. Untrue! Numeric fields default to zero, etc if not in method. "Java : An Intro to Computer Science" by Walter Savitch is the best overall I've seen. I agree that the more books the better. Just don't buy so many that you spend all your time comparing them to each other and never finish any of them like me! Check out the reviews at Amazon.com. The book by Dietal (Dietel?), "Java : How to Program" is good to. Those two books should keep you busy for 3 - 4 months.
Originally posted by herb slocomb: Ivor Horton's book looks good but I lost trust in it when I saw around page 34 it said that there was no set default values for variables. Untrue! Numeric fields default to zero, etc if not in method.
Herb, I think Ivor is right. Try to compile the following:
When you do, you'll get the following error:
If there was a set default for a numeric variable of zero, then you wouldn't need to initialize it... I personally have found Ivor's book to be excellent in all respects although occassionally a little dry. Best of Luck ------------------ I'm a soldier in the NetScape Wars... Joel
Wait a minute, I'm trying to think of something clever to say...<p>Joel
Joined: Mar 23, 2001
Ooops! I didn't read the fine print... you said if not inside a method, so I tried it like so:
and you were right, it defaults to zero. I did try to find the statement you are referring to in the book but couldn't find it. Sorry if I responded too quickly.
------------------ I'm a soldier in the NetScape Wars... Joel
Here's my 3 cents worth (adjusted for inflation): If you're serious about learning Java (as opposed to just tinkering) I think the two volumes of 'Core Java' (Sun - Horstmann and Cornell) are excellent. Deitel and Deitel's 'Java How to Program' is also very good. To further solidify your Java foundation knowledge I highly recommend 'A Programmer's Guide to Java' by Mughal and Rasmussen, which is a great resource beyond just certification preparation.
One critical piece of advice (that I wish I had learned long ago). NEVER buy a technical book without reading reviews first (Amazon is an excellant source). The range in quality of technical books is very wide - with many books falling in the mediocre to crap category.
Aha I see, so the two books that I think I shall get are Just JAVA and Beginning JAVA2 as they are highly rated on JavaRanch and have a good rating on Amazon. I will surely have a read of both in my local book store because that is always useful. I think I might skip Thinking in java for now because I know what those books "for programmers with C/C++ background" are like. thank you all for such excellent help!