Further Reading
There is more information on the assert statement, including a couple of clever idioms, at the Sun site java.sun.com/j2se/1.5/docs/guide/lang/assert.html. One of the idioms is code to prevent a program from running at all if assertions are turned off.
Get Just Java™ 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.