How to enable or disable Assertion in Java

Good thing about Assertion in Java is that you can enable or disable Assertion at runtime. Designer of java are really very thoughtful, they have thought of many situations while designing java and its API. one of the gem is ability to enable or disable assertion in runtime without any change on code. In last article we see how Assertion works in Java and now we will see some step by step guide on how to disable or enable Assertion in Java By default assertions in Java are disabled at runtime and JVM provides following options to deal with assertion in Java :
Read more »

0 Response to "How to enable or disable Assertion in Java"

Posting Komentar