This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes ea and da--assertions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "ea and da--assertions" Watch "ea and da--assertions" New topic
Author

ea and da--assertions

srini kami
Greenhorn

Joined: Dec 29, 2002
Posts: 26
Hi
I am reading assertions for 1.4 certification. I am bit confused about those 2 switches(ea and da) especially when they apprear in same coomand line, like enabling for a package and disabling for subpackage or specific class.
If someone can explain it or give me some links i will appreciate it.


Thank you<br />Srini
Jose Botella
Ranch Hand

Joined: Jul 03, 2001
Posts: 2120
Welcome to the Ranch srini.
There is a free Java book downloadable from javalobby.com that deals with assertions and much more.


SCJP2. Please Indent your code using UBB Code
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

Check out Cindy's newsletter article about Assertions.
It gives examples of using the -ea and -da, -esa and -dsa parameters. (EnableAssertions, DisableAssertions, EnableSystemAssertions, DisableSystemAssertions).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ea and da--assertions