About Question enthuware.ocpjp.v7.2.1607 :
Moderator: admin
-
- Posts: 33
- Joined: Mon May 06, 2013 9:41 am
- Contact:
About Question enthuware.ocpjp.v7.2.1607 :
In the explanation of option two "only for package named TestClass" should be likely "only for class named TestClass"?
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1607 :
If you like our products and services, please help us by posting your review here.
-
- Posts: 33
- Joined: Mon May 06, 2013 9:41 am
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1607 :
Maybe I missed something, but my understanding was that to enable assertions for some package, the postfix "..." should be used. In this case we have "java -ea:TestClass" which seems to indicate that we would like to enable assertions for the class TestClass, and it would be "java -ea:TestClass..." that would enable assertions for a package called TestClass
The link you suggested seems to indicate the same: With one argument ending in "...", assertions are enabled in the specified package. and With one argument not ending in "...", assertions are enabled in the specified class.
The link you suggested seems to indicate the same: With one argument ending in "...", assertions are enabled in the specified package. and With one argument not ending in "...", assertions are enabled in the specified class.
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1607 :
You are right. I misread. Very sorry about that
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: Bing [Bot] and 258 guests