This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ea and da--assertions  RSS feed

 
srini kami
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jose Botella
Ranch Hand
Posts: 2120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch srini.
There is a free Java book downloadable from javalobby.com that deals with assertions and much more.
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!