The last sentence in ASSERTIONS chapter in
Java Certification book (pg 163):
"This example demonstrates that assertions are appropriate for checking preconditions in any method regardless of access, and for checking post-conditions in private methods."
Should it not be vice versa, ie:
...assertions are appropriate for checking postconditions in any method regardless of access, and for checking preconditions in private methods ?
Many thanks!
Stanislava