Section 2 has an objective that says this:
"Develop code that makes use of assertions, and distinguish appropriate from inappropriate uses of assertions."
I've always assumed that assertions were designed to check for things that are never supposed to happen, but after reading "The Complete
Java 2 Study Guide," apparently it's not simple. There are specific times when using assertions is good and bad. Although the book says a bunch of stuff it doesn't all that much sense.
Can anyone provide some clarity on the topic.