aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes passing assertion  from methods(public/private) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "passing assertion  from methods(public/private)" Watch "passing assertion  from methods(public/private)" New topic

passing assertion from methods(public/private)

Shashank Sharma
Ranch Hand

Joined: Sep 27, 2006
Posts: 91
Can anybody please explain me the difference between passing assertions from public method and passing it from a private method.
Shashank Sharma
Ranch Hand

Joined: Sep 27, 2006
Posts: 91
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39578
You can delete a thread you started by editing the first message, and then checking the "Delete Post" checkbox. If you then save the post, the message (and the complete thread) will be deleted.

Ping & DNS - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: passing assertion from methods(public/private)
Similar Threads
Tricky Question on Overriding
simple question
Appropriate use of assertions?
Private methods in TDD