Computer Science, asked by shuklashruti653, 10 months ago

which work can be done in a file or directory in java file class​

Answers

Answered by pushpendra49
1

Answer:

Java File class represents the files and directory pathnames in an abstract manner. This class is used for creation of files and directories, file searching, file deletion, etc. The File object represents the actual file/directory on the disk.

Answered by BhargaviVarma
0

Answer:

the file class contains several methods for working with the pathname , deleting and renaming files, creating new director ies , listing the contents of a directory and determing several common attributes of file s and directories.it is an abstract representation of file and directory pathnames

Similar questions