• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Assertion diffculty

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
There's a city wid manhunt for this tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic