Problem Statement
With NIO.2, which statements are TRUE?
Explanation
Use CopyOption flags to control behavior. For example, REPLACE_EXISTING to overwrite, COPY_ATTRIBUTES to preserve metadata, and ATOMIC_MOVE for all-or-nothing moves when supported.
Get the Preplance app for a seamless learning experience. Practice offline, get daily streaks, and stay ahead with real-time interview updates.
Get it on
Google Play
4.9/5 Rating on Store
Java · Interview Question
Detailed answer, explanation and code for this interview question. Ideal for Java interview preparation, coding rounds and viva questions.
With NIO.2, which statements are TRUE?
Master Java with our complete collection of questions, tutorials and guides.