About question com.enthuware.ets.scjp.v6.2.27 (hoping reference is right)
Posted: Tue Oct 16, 2012 2:56 pm
The question is:
But, in the possible (right) answers, the switch -ea is never used (and it is why my own answer is declared wrong). As assertions are disabled by default how the code can "uses the assertion facility" if the switch is not present?You have just written a Java class named AssertTest.java that uses the assertion facility. Write down the syntax for compiling this program using Javac.
[Do not write the classpath or any other switches, just use the one/ones that is/are absolutely needed. Start with: javac ...]