posted 16 years ago
i have diffculty in assertion, i refering to Kathy Sierra for SJCP 5.0 book,in this book Chapter 5 they Assertion as subtopic in this they have told about assertion mechanism in that Using Assertion Appropriately is an sub topic in assertion topic.
In that Dont'use Assertion to Validate Arguments to a public method and
Do use Assertion,Even in public methods,to check for cases that you know are never ,ever supposed to happen.these are to point in Using Assertion Appropriately.
first point i have understand but regarding second i have doubt please help me for regarding topic.
thankyou,
trupti