How to copy the file from one location to other?
(a) Files.copy(source, target)
(b) Path.copy(source, target)
(c) source.copy(target)
(d) Files.createCopy(target)
This question was addressed to me in an interview for internship.
The above asked question is from File and Directory topic in section Autoboxing & Miscellaneous of Java
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)