Microsoft
98-372 · Question #83
98-372 Question #83: Real Exam Question with Answer & Explanation
Sign in or unlock 98-372 to reveal the answer and full explanation for question #83. The question stem and answer options stay visible for context.
Question
Which of the following code segments is the most efficient way to rename a file from "File1.txt" to "File2.txt"?
Options
- AFile.Replace("File1.txt", "File2.txt");
- BFile.Move("File1.txt", "File2.txt");
- CFile.Copy("File1.txt", "File2.txt");
- DFile.Rename("File1.txt", "File2.txt");
Unlock 98-372 to see the answer
You've previewed enough free 98-372 questions. Unlock 98-372 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.