Which statement is true about the DSYNC constant defined in standardopenoptions enums?

Which statement is true about the DSYNC constant defined in standardopenoptions enums?

Which statement is true about the DSYNC constant defined in standardopenoptions enums?

A.
DSYNC keeps only the file content and not the metadata synchronized with the underlying storage device.

B.
DSYNC keeps thefile (both content and metadata) synchronized with the underlying storage device.

C.
DSYNC keeps only the file metadata and not the file content synchronized with the underlying storage device.

D.
DSYNC keeps the file (both content and metadata) de-synchronized with copies in the underlying storage device.

Explanation:
DSYNC keeps the file content synchronized with the underlying storage device.
Note:SYNC keeps the file (both content and metadata) synchronized with the underlying storage device.
Note 2: These are from the java.nio.file.StandardOpenOption enum class.



Leave a Reply 0

Your email address will not be published. Required fields are marked *