my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: assertions
 
Similar Threads
If you take too long to type a question, you lose everthing you wrote
single return statement: yes / no?
textbox validation in javascript
How to keep in tract of all the users loggin in
Is 6th September your birthday?