PDA

View Full Version : Is this book <JAVA in a netshell> good for C++ programmers?



meili100
10-21-2008, 12:10 PM
Is this book, <JAVA in a netshell> 4th ed, a good book?
http://www.amazon.com/Java-Nutshell-Fourth-David-Flanagan/dp/0596002831/

Has anybody read it? I am a C++ programmer and just want to quickly get started with java for simple JAVA programming. Because I don't have time to read <Thinking in JAVA> at this moment, I just want a book to quickly guide me how to program in JAVA and to get familiar with basic JAVA knowledge, such as how to compile JAVA code in linux, what is JAR, common knowledge of JAVA lib/packages, Java Beans basics, etc.

Would anybody recommend a book? Thanks.

master5001
10-21-2008, 12:15 PM
I saw that book mentioned on this (http://cboard.cprogramming.com/showpost.php?p=799198&postcount=1) thread. Other than that, I have never heard of it. Amazon usually has user reviews to read, by the way.

Salem
10-21-2008, 12:21 PM
Nutshell books are on the whole pretty good.

C_ntua
10-21-2008, 12:26 PM
I learned Java from here http://java.sun.com/docs/books/tutorial/
If you know quite well C++ you can really easily learn Java. It will teach you also some basic libraries like I/O operations, string etc etc.

Java is easy. Just read real quick the tutorials and practice by yourself. Like try doing this and that to get familiar with it.

As what is jar http://en.wikipedia.org/wiki/JAR_file

As for how to compile quick and fast:
1) javac myJavaFile.java //compile and create myJavaFile.class
2) java myJavaFile //run

As for JavaBeans http://java.sun.com/docs/books/tutorial/javabeans/index.html (though I haven't read this)

meili100
10-21-2008, 12:27 PM
Thanks. I am a C++ programmer and just want to quickly get started with java for simple JAVA programming.
This book seems not be a good learning book. Any book to recommend? Thanks.


I saw that book mentioned on this (http://cboard.cprogramming.com/showpost.php?p=799198&postcount=1) thread. Other than that, I have never heard of it. Amazon usually has user reviews to read, by the way.

jwenting
10-28-2008, 02:28 AM
Sun's SL275 course is a good one.
Tad expensive maybe if you were looking at a book, but comes with free lunch for the duration :)

The best book to learn Java is Head First Java, but it assumes no prior programming experience so may be too slowpaced for you.

I've been doing Java for so long I don't really keep up with introductory books, but got that one in a prize draw and skimmed it before handing it to a colleague who wanted to learn. He liked it (but he had no prior OO experience, specialising in Progress).