Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

Enabling Assertions at Runtime
We can enable assertions at runtime with
java -ea com.geeksanonymous.TestClass
or
java -enableassertions com.geeksanonymous.TestClass
The preceding command-line switches tell the JVM to run with assertions enabled
Posted By: Name:Rajesh Kr URL: Enabling Assertions at Runtime