MCQ Answer

Which of the following fs module is used to close a file?

Which of the following fs module is used to close a file?

Topic : Node JS File System

A. fs.close()

B. fs.closeFile()

C. fs.closePath()

D. None of the above




Correct Answer is :

A. fs.close()



Explanation
The fs.close() module is used to close the file.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad