What is the purpose of the File class

The File class is used to create objects that provide access to the files and directories of alocal file system.

Showing Answers 1 - 3 of 3 Answers

File class is used to provide methods to perform some basic file-system operations such as checking the file length,
create/remove folders etc.File class is used to read and write data to and from files.It provides access to directories of local file system with the help of objects created.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions