• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Thinking in JAVA?

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I heard there is a book Bruce Eckel Thinking in JAVA... I know its available online but I am thinking about buying it. Is it a good book for a beginner?
 
Sheriff
Posts: 17713
302
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is definitely a good book for beginners. Highly recommended reading.
Junilu
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is particularly good if you have a background in C++.
If you don't you might want to consider Just Java 2 (Peter van der Linden).
 
Kirill NKaufmann
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Cindy Glass:
It is particularly good if you have a background in C++.
If you don't you might want to consider Just Java 2 (Peter van der Linden).


I have Learning JAVA by O'Rilly but its not that good, its not very readable. I dont have a very strong C++ backgroud either, so I shall check out Just JAVA 2 as you suggested,
thanks.
 
Ranch Hand
Posts: 782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah i fould Just Java 2 to be the easiest book to read for getting into Java. Covers lots of info, but keeps it on the light side so you dont get bogged down or frustrated.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Kirill NKaufmann
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Cindy Glass
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 1479
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Joel Cochran
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Cindy Glass
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You know JavaRanch has a complete set of Book Reviews posted here:
http://www.javaranch.com/books.jsp
Including reviews of these books.
 
Kirill NKaufmann
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Mo-om! You're embarassing me! Can you just read a tiny ad like a normal person?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic