This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes assertions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "assertions" Watch "assertions" New topic
Author

assertions

Jui Mahajan
Ranch Hand

Joined: Jun 02, 2003
Posts: 62
I am confused abt when an assertion is checking for an invariant and when it is checking for a precondition. PLs clarify with examples.
Thanks
jui


-----jui<br />scjp1.4
 
Consider Paul's rocket mass heater.
 
subject: assertions