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
What's the access scope of protected access specifier?
Is arraylist ordered in java?
Can a constructor call another constructor?
Can you use abstract and final both with a method?
What is the difference between post and put?
What is array length in java?
Difference between final and effectively final ? Why is effectively final even required ?
what is mena by object block any what is the use of that
Is stringwriter thread safe?
Can we initialize the final blank variable?
What is the difference between static and non-static variables in java programming?
What is finalize() function in java?
How many bytes are there?
What is float in java?
Can a class extend more than one class?