Page 1 of 1

About Question com.enthuware.ets.scjp.v6.2.459 :

Posted: Sat Mar 23, 2013 6:08 pm
by MensahA
Hello:

can someone please explain to me how -ea:... enables assertions in the Main class?

Re: About Question com.enthuware.ets.scjp.v6.2.459 :

Posted: Sat Mar 23, 2013 6:30 pm
by admin
Three dots just after -ea: enable assertions in the unnamed package in the current working directory. Since that is where Main class is (as given in the question), it enables assertions for that class.

HTH,
Paul.