• 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
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Which is best book for learning java for beginner?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey frndss I am new in java.can anybody suggest me which is best book for me.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sandip, welcome to CodeRanch!

Take a look at our book reviews for beginning Java and you can then decide which one suits you best.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I find the "Beginning Java for dummies" books good at the moment. But they only go so far. I find the light hearted approach and moving at your own pace a good way to learn, albeit slowly.
 
Marshal
Posts: 80140
418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a problem with that book in that it hardly scratches the surface of object‑oriented design, I am afraid.
 
Neil Van Styn
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, you're not wrong. But it was a good starting point I thought. I've finished it now and barely know which direction to turn, so it might not have been the "best" in retrospect.
 
Greenhorn
Posts: 27
  • Likes 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For beginner, here are some possible choices:

*Head first Java (2nd Ed) 2005 - good if you like lots of pictures, stories, and analogies, published 9 years ago but still good for basics...
*Thinking in Java (4th Edition, 2006) is rated highly on Amazon...
*Java For Dummies (2013) - Newer, but doesn't seem to cover as much Head First

 
Campbell Ritchie
Marshal
Posts: 80140
418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not sure that Thinking in Java is a beginner's book. It is a long time since I read it however. I did think it good, then.

Anybody else got opinions about TiJ?

I am going to duplicate this discussion in the books forum.
 
sandip chaudhari
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanxx for reply!!
I think Head First Java: Your Brain on Java - A Learner's Guide Paperback is perfect book for me.
 
Ranch Hand
Posts: 116
2
Eclipse IDE PHP Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good choice in my opinion. I started with Head First and it gave me a solid foundation to build on.

Once you are most of the way or all the way through Head First, you might try some of the coding problems on codingbat.com. I find they are really good practice for things like String manipulation, and filtering and sorting collections.

The Java documentation will be a big help when doing the codingbat problems as you can look up String methods and other class methods that are already available to you in the java libraries.
 
Greenhorn
Posts: 21
IntelliJ IDE Chrome Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got both, Heads first Java and Java 7 for Dummies. I'm also starting with Java. I hope these two books help me find my way into Java programming. ;D
 
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java book my Mala gupta is also one of the best book on Java for beginners
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd would also recommend:

- Head First Java

You can check out this list of the best java books
It has all the beginner and advanced books i would recommend
 
Campbell Ritchie
Marshal
Posts: 80140
418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch
I suspect OP might not still be waiting for any answer, however.
 
peter dell
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know, but since i have found this "old" thread when i was looking for some help i might think that other ppl will find this too

Thank you
 
Ranch Hand
Posts: 99
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This could be a sticky thread or something. The exact same question gets asked almost every day.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with Michael. I used Head First Java for SCJP certification, it was worth it.

Michael Gomez wrote:For beginner, here are some possible choices:

*Head first Java (2nd Ed) 2005 - good if you like lots of pictures, stories, and analogies, published 9 years ago but still good for basics...
*Thinking in Java (4th Edition, 2006) is rated highly on Amazon...
*Java For Dummies (2013) - Newer, but doesn't seem to cover as much Head First

 
Bartender
Posts: 669
15
TypeScript Fedora
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think this is the best one for beginners:
http://math.hws.edu/eck/index.html
It's free, too.
 
Ranch Hand
Posts: 393
9
Open BSD BSD Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From Polytechnic University in Brooklyn here's another one course
http://www.cafeaulait.org/course/
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the following books which will help you a lot:
1. Head first Java (2nd edition)
2. Thinking in java (4th edition)
3.  Introduction Java by Segdewick

These are amazing books and will help you out in studying Java easily. I hope this useful
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hii sandip,
As you are beginner in java these are some books which you can prefer.
Head First Java, 2nd Edition.
Thinking in Java (4th Edition)
Think Java.
Introduction to Java by Sedgewick.
 
Harry Kar
Ranch Hand
Posts: 393
9
Open BSD BSD Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here i have temporarily compiled a list of open books (the target is to do it well in his own place )
All textbooks there are valuable but as a very first read i  recommend Think Java How to Think Like a Computer Scientist 2002 by Allen B. Downey only because is very small and teach you the very basics without overwhelming you(that's a good pedagogic tecnick)  
 
Campbell Ritchie
Marshal
Posts: 80140
418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Harry Kar wrote:. . .  Think Java How to Think Like a Computer Scientist 2002 by Allen B. Downey . . .

Please supply more details of that book; I have seen a book with a similar name which was full of errors.
 
Harry Kar
Ranch Hand
Posts: 393
9
Open BSD BSD Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:

Harry Kar wrote:. . .  Think Java How to Think Like a Computer Scientist 2002 by Allen B. Downey . . .

Please supply more details of that book; I have seen a book with a similar name which was full of errors.


No AFAIK is not that one no errors here(it's a very basic text optimal for a very first read IMO or also for someone who comes from another language and want fast intro in Java) ; I like prof Downey's style. He adopt that style for others languages too Python i guess
 
Campbell Ritchie
Marshal
Posts: 80140
418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That looks different from the book I didn't like. Thank you.
 
Harry Kar
Ranch Hand
Posts: 393
9
Open BSD BSD Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:That looks different from the book I didn't like. Thank you.


You're welcome. For the sake of common acknowledge please share with us what book was that?
By the way all books in our library are open so freely downloadable (or inspected if in HTML)
 
Campbell Ritchie
Marshal
Posts: 80140
418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can't seem to find the book I didn't like at the moment. Sorry.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As a beginner, I searched for such information all over the internet. Most lists of resources seem to repeat the same books and courses. I've personally tried reading Head First Java, Thinking in Java (Eckel) and Core Java Vol I-II (Horstmann) and I must admit that only Core Java by Horstmann has struck the right balance of theory and style so far. From what I've heard about this book, I think my next one will be Effective Java by Joshua Bloch.
If it helps any other beginners on here, I came across a very good list of best best books to learn Java. I hope it helps you, as much as it had helped me.
 
Campbell Ritchie
Marshal
Posts: 80140
418
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Nick B. Smith wrote:. . . I think my next one will be Effective Java by Joshua Bloch. . . .

An excellent book, but by no mean a beginners' book.
 
Greenhorn
Posts: 28
Eclipse IDE Redhat Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think Head First Java is excellent as is Murach's Java Programming.
Best,
Steve
 
Nick B. Smith
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:

Nick B. Smith wrote:. . . I think my next one will be Effective Java by Joshua Bloch. . . .

An excellent book, but by no mean a beginners' book.



Indeed. I had a quick look at it and it will definitely have to wait until I'm a bit more advanced:)
Good job there's still plenty for me to read.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Head First Java by Kathy Sierra & Bert Bates
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I learned java from the book "Java: A Beginner’s Guide by Herbert Schildt" and was quite pleased. At the same time, I watched a video in YouTube in parallel and I was also assisted by an acquaintance who is well versed in this.
 
Campbell Ritchie
Marshal
Posts: 80140
418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Head First Java by Kathy Sierra & Bert Bates

Beginning Programming with Java For Dummies

Java: Programming Basics for Absolute Beginners by Nathan Clark

Java: A Beginner’s Guide by Herbert Schildt

Core Java Volume I — Fundamentals

Think Java: How to Think Like a Computer Scientist by Allen Downey and Chris Mayfield

 
Campbell Ritchie
Marshal
Posts: 80140
418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The last time I looked, Schildt didn't get good reviews on our books pages. I don't think Horstmann's book should count; it isn't intended for beginners at all.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is the list:

  • Head First Java by Kathy Sierra & Bert Bates
  • Java: Programming Basics for Absolute Beginners by Nathan Clark
  • Java: A Beginner’s Guide by Herbert Schildt
  • Effective Java is written by Joshua Bloch
  • Thinking in Java by Bruce Eckel
  •  
    Campbell Ritchie
    Marshal
    Posts: 80140
    418
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    I haven't heard good things about Schildt's book. Bloch's book is excellent, but it isn't a beginner's book.
     
    I've been selected to go to the moon! All thanks to this tiny ad:
    Smokeless wood heat with a rocket mass heater
    https://woodheat.net
    reply
      Bookmark Topic Watch Topic
    • New Topic