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
Is void a type?
Explain about narrowing conversion in java?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
How to optimize the javac output?
Why is whitespace important?
When the constructor of a class is invoked?
What do you understand by the term string pool?
What do you mean by synchronized non access modifier?
Is static a keyword in java?
What is a generic data type?
What is the difference between throw and throws in java?
What is difference between char array and string?
How do you remove all elements from an arraylist in java?
What do you understand by a Static Variable?
What is the best definition for data?