We have posted a 14-page excerpt on assertions (with review questions) from the forthcoming second edition of our book: A Programmer's Guide to Java Certification: A Comprehensive Primer by Khalid A. Mughal and Rolf W. Rasmussen
Jessica, the site says the book will be published in the first quarter of 2003. The notes look excellent Khalid! - Manish
Joined: Oct 31, 2002
Ehh, I will take the 1.4 exam after noon today, and read your chapter about assertions, and I�m impressed! But I�m little bit confused about the question marked 5.26. The answer is "AssertionException". I have not seen anywhere this Exception (if you don�t write it your self), only AssertionError i throws, or??? Thanks, /Thomas
Joined: Sep 04, 2001
Great notes. Khalid Sir: When are you launching the new version? Regards and best wishes Rachel
Joined: Aug 14, 2002
Question 5.26 answer is:
The class of exceptions thrown by assertion statement is always AssertionException.
I searched the API for AssertionException class but only found AssertionError is it a typo??