Answer Posted / ranganathkini
The java.io.File class abstracts a filename and directory
pathnames. It provides useful methods to perform some basic
filesystem operations such as, verifying the existance of a
file, getting the absolute or relative path of a file,
verifying if a path refers to a directory or file, verifying
the permissions on a File, checking the file length,
create/remove folders, etc.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Why is the main method declared static?
What is byte data type?
Difference between start() and run() method of thread class?
What are functions in java?
What is command line argument in java?
What is the map interface in java programming?
What is the main purpose of serialization in java?
What about member inner classes?
Explain the available thread states in a high-level?
Can we override constructor in java?
How java enabled high performance?
What is the difference between serializable and externalizable interfaces?
What is unmodifiable collection in java?
What are the four versions of java?
What is anti pattern in cyber security?