Hi, I planed to take SCPJ for Java 2 platform 1.2 but now Sun have the exam for SCPJ for Java 2 platform 1.4. I compared their objectives and it seems that 1.4 has ASSERTIONS which is not in 1.2. Does anyone know where I can get study material about ASSERTIONS? Thank you in advance.
and you should be able to answer any question regarding assertion.
See El<br />SCJP2, SCWCD, IBM XML, SCBCD
Joined: May 05, 2000
nutw, I forgot to remind you that JavaRanch has a naming standard and your name isn't it. Please change your name to meet the JavaRanch requirements: http://www.javaranch.com/name.jsp [ October 17, 2002: Message edited by: Paul Wheaton ]
I just wanted to acknowledge that this document is exactly what was used for the exam questions. See EI is right; for the purposes of the exam, it has everything you need. Be especially careful about recognizing when assertions are "appropriate". On the exam, there is a clear distinction between "legal" and "appropriate" on the assertion questions, so something that compiles and runs may still be considered an "inappropriate use" of assertions. For example, using assertions to validate arugments to a public method, is considered "inappropriate". But on a private method, it *is* appropriate." Think of it like Miss Manners for assertions. What is fine in private just isn't proper in public
Co-Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0596007124/ref=jranch-20" target="_blank" rel="nofollow">"Head First Design Patterns"</a><br /> <br />Just a Jini girl living in a J2EE world.
You can test your understanding of the assertions topic using the assertions exam in section 2 of the Single Topic Exams at the URL contained in my signature. My questions tend to be more difficult than the real exam so please don't be discouraged if your score isn't high.
Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="http://www.danchisholm.net/" target="_blank" rel="nofollow">Try my mock exam.</a>