to know–and shows you how to prepare for this challenging SCJP Exam, including: Declarations SCJP Sun Certified Programmer for Java 6 Exam Kathy Sierra is a co-developer of the SCJP exam and Sun’s practice exam. Kathy sierra Pdf books – Free download as PDF File .pdf), Text File .txt) or read online for free. SCJP Java Thread Mock Exam Questions SCJP Dump. 5 Jul OCA/OCP Java SE7 Programmer I&II Study Guide(Exam 1Z & 1Z) by Kathy Sierra & Bert Bates: Library Genesis: Kathy Sierra, Bert Bates You are.
|Published (Last):||19 May 2011|
|PDF File Size:||20.41 Mb|
|ePub File Size:||11.59 Mb|
|Price:||Free* [*Free Regsitration Required]|
And it is very funny to read! It gives you a good start for java syntax and object orientation.
I have a doubt about how many objects eligible for GC. SCJP java 6 or head first for java.
If you already know java and are just planing for the exam – it doesn’t matter. Is the commented out print line in the book, or is it your own addition? Sdjp why you see scmp two “story” variables as being equal. I jus want to know which one of the two, headfirst java or scjp java 6 is good to start with. Sorry, my post was incorrect. If you already know Java then you probably don’t need HF Java to study for the exam. Don’t get me started about those stupid light bulbs.
Head First Java is a great book for starters. However, the compiler keeps a pool of small integers so instead of kathj them, it just points to the object already in the pool. Sorry, perhaps my english language isn’t too good. Boot ] [ JavaChamp ] [ JavaPrepare ].
If you’re 11.6 on the edge, you’re taking up too much room. Strings from the pool are never eligible, and small Shorts and Integers are reused, c2 is still using them. When a second CardBoard is instantiated – then it’s CardBoard and s2 that are created.
First of all, thank you for your attention! Assume that the code changed as below: If you are not at least a bit confident with the language it’s a very good choice to start from the beginning, headfirst Java. I would like to know why the Short wrapper object in c1 is elegible if c2.
Hi Divya There is a lot .16 difference between java1.
Someone who has given 1. And no one ever goes to them and gives them an award. Well, i’m still not understand. I think the author might have missed that optimization when she said that there would be a Short eligible for garbage collection.
Each instantiation of CardBoard referred with different reference, would that be 4 objects created of each instantiation c1,c2?.
Couple of notes here: I’m not sure whats the difference between 1. Also concepts have been wonderfully dealt with in the book. Spot false dilemmas now, ask me how! sfjp
Download Zone: kathy sierra scjp download
This thread appears to be about certification: So, for instance, there are no questions on the real exam that use objects of type String in a GC question.
I started with the Head First to refresh my java skills before starting to learn for the exam. In both of the above cases the key thing to remember is that the exam does NOT test you on your knowledge of any constant pools.
It depends on how much time do you have at your disposal AND how much you already know about Java. Is it advisable to take exam on the latest version 6 or older version??? Another distinct possibility is that I’m missing something. C which means 2 objects is correct. Normally, instance variables like story would not be shared among instances, so when the containing object was eligible for garbage collection, then story would be as well.
It was written for people who know a little bit about programming and want to learn Java. I’d say it’s 4 objects – c3 and c1 are nulled out, so they are eligible, and two Strings created by new withing them – “String 2”, twice.
I think I found the answer for that problem. The Short itself wrapper class of primitive data type which has range values between and I was running a test in another screen and hit submit before I tested it.
If you don’t know java and are planing for the exam – Head First Java. I say that because too many times I found myself looking here and there trying to gather information on basic concepts time wasted that a beginner book would have surely treated. I decided to get both books.