enthuware.ocpjp.v8.2.1551 & enthuware.ocpjp.v8.2.1552

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
salmanawan
Posts: 1
Joined: Mon Mar 13, 2017 7:02 am
Contact:

enthuware.ocpjp.v8.2.1551 & enthuware.ocpjp.v8.2.1552

Post by salmanawan »

For these two questions:

Which of the following statements are valid usages of StandardOpenOption options that control how the file is opened?


Which of the following statements are valid usages of StandardOpenOption options that determine how the file is opened?


This common option, is correct for one and incorrect for other.

Code: Select all

new OpenOption[]{StandardOpenOption.READ, StandardOpenOption.SYNC}
Difference boils down to use of word 'control' vs. 'determine'..... can someone explain the difference a bit, cheers.

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

Re: enthuware.ocpjp.v8.2.1551 & enthuware.ocpjp.v8.2.1552

Post by admin »

It should be marked as correct in both. The explanation is correct though, "Ideally, this should be an invalid combination (because when a file is opened for ///READ///, there is nothing to synch) but it works."

thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests