About Question enthuware.ocpjp.v7.2.1322 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
D3x!

About Question enthuware.ocpjp.v7.2.1322 :

Post by D3x! »

Q: Assertions require changes at the JVM level.
No change is required in the JVM for supporting assertions.
but it is marked as a correct answer?
Q: Assertions can be enabled or disabled at runtime.
By using the switches, -ea and -da or -enableassertions or -disableassertions
but it is not marked as a correct answer?
Q: Code that uses Assertions cannot be run on version below 1.4
Because of the 'assertion' keyword.
but is not marked as a correct answer?
Q: Code written for JDK version 1.3 cannot be compiled under JDK version 1.4
It can be compiled by using -source flag: javac -source 1.3 classname.java
but it is marked as a correct answer?

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1322 :

Post by admin »

Because the question asks you to select options that are NOT correct.

HTH,
Paul.

D3x!

Re: About Question enthuware.ocpjp.v7.2.1322 :

Post by D3x! »

ahhhhh.

aspire_jp
Posts: 8
Joined: Wed Apr 17, 2013 12:37 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1322 :

Post by aspire_jp »

Hi,
the keyword is 'assert' not 'assertion' as referred to in the explanation.
Thanks!

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1322 :

Post by admin »

You are right, aspire_jp. This has now been fixed.

thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests