This content has been marked as final. Show 22 replies
Do you already have programming experience? If not, you're in for a tough time. If you have no experience at all with object oriented programming, I really suggest you start with learning UML, which is a way of modelling object oriented application without doing any actual coding, a sort of visual tutorial. That way you'll have a firm understanding about how OO applications should work before you start messing with Java.
The title you have is a reference book. This will be all but useless for the beginner, as it was not written to explain core concepts, but rather to attempt to list all concepts, constructs, implementations etc. in the language, for the experienced reader. There are texts designed to introduce OOP, Java, general programming etc. However, I'm kind of out of all that now, and I don't teach, so I don't know of any! I hear a book by Dietel and Dietel mentioned a lot here, but I can't remember the title.
Ashish, I think it depends on your needs. I have had good luck with The Java Tutorial by Campione and Walrath (Addison Wesley), as well as Teach Yourself Java2 in 21 Days by Lemay and Cadenhead (SAMS).
But check this out: there are other threads in this forum where members have listed their favorite books. You can search on "best book" in this forum and get many useful results.
For example, see:
Keep your threads separate, don't hijack your own stuff. People will want to read this in future (well ok, maybe not this, but possibly other threads you kick off) so you need to keep the topics distinct. Secondly, surely you know better than to make a statement like that (not even a question). We are here to answer specific questions, not reel off everything we know on an arbitrary area of java. What is the problem you are encountering, and what are you trying to do. NB - put this in a new thread!
You claim not to even know J in Java, but now asking about pack(). That's not consistent.
If you are a real beginner, I recommend you an online (downloadable) text. When I was a beginner like you, all people were suggesting me the Sun's online tutorial. That's definitely a good place to start, but I found it too intimidating at first because it is comprehensive. Luckily, I got to know this little known but admirable book (actually it is a series of Notes of a Prof.) which proved very helpful to me. This book doesn't teach you how to set up the development environment. Hopefully, you are set up by now. Check the link:
Your First Cup of Java - http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html
Essentials, Part 1, Lesson 1: Compiling & Running a Simple Program - http://java.sun.com/developer/onlineTraining/Programming/BasicJava1/compile.html
The Java Tutorial - A practical guide for programmers - http://java.sun.com/docs/books/tutorial/
New to Java Center - http://java.sun.com/learning/new2java/index.html
How To Think Like A Computer Scientist - http://www.ibiblio.org/obp/thinkCSjav/
Introduction to Computer Science using Java - http://chortle.ccsu.ctstateu.edu/CS151/cs151java.html
The Java Developers Almanac 1.4 - http://javaalmanac.com/
JavaRanch: a friendly place for Java greenhorns - http://www.javaranch.com
jGuru - http://www.jguru.com
Object-Oriented Programming Concepts - http://java.sun.com/docs/books/tutorial/java/concepts/
Object-oriented language basics - http://www.javaworld.com/javaworld/jw-04-2001/jw-0406-java101.html
Don't Fear the OOP - http://sepwww.stanford.edu/sep/josman/oop/oop1.htm
Bert Bates and Kathy Sierra's Head First Java - http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance
Bruce Eckel's Thinking in Java (Free online) - http://mindview.net/Books/DownloadSites
Joshua Bloch's Effective Java - http://www.amazon.co.uk/exec/obidos/Author=Bloch,%20Josh
Java Design: Building Better Apps and Applets (2nd Edition) - http://www.amazon.com/exec/obidos/tg/detail/-/0139111816/qid=1101309882/sr=8-7/ref=sr_8_xs_ap_i7_xgl14/104-6417153-1511164?v=glance&s=books&n=507846
Hey guys first of all I'm sorry for mixing it all up... I'm completely new to the FORUM environment also so please no hard feeling... Yes its true that I don't know 'J' of Java but the firm where I have joined has given me a codec to study which containd the function 'pack( )'... thriugh some RND I came to know that it is part of SWING so I put up the query in the same thread... I'm sorry again but Thanks for the concern also... :)
Hi Uladzimir_So if you know enough java to be asking about pack() then why did you post this asking to learn about oop concepts. Do you know the basics of java, do you just have some experience with programing in general? If someone's going to give you an appropriate text (book or online) to help you learn they need to know where you are with java and OOP in general.
Thanks for ur response... I'll follow the link... but
can u suggest some thing for OOPS concept (ONLINE
prefferd) or any other material.