• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Notes on Assertions

 
author
Posts: 151
12
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

The notes can be downloaded from here:
http://www.ii.uib.no/~khalid/pgjc/jcbook/new-exam-note-020928.html

Enjoy!
[ October 30, 2002: Message edited by: Khalid A. Mughal ]
 
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Khalid-
The assertions chapter looks like an excellent resource (as was/is the rest of your 1.2 book). When will the 1.4 book be published?
 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jessica, the site says the book will be published in the first quarter of 2003.
The notes look excellent Khalid!
- Manish
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Great notes.
Khalid Sir: When are you launching the new version?
Regards and best wishes
Rachel
 
Ranch Hand
Posts: 279
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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??
 
Author
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Go to the Addison-Wesley web site: www.awl.com
It says when it will published next year.
 
Villains always have antidotes. They're funny that way. Here's an antidote disguised as a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic