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 is the latest java version?
What are the three parts of a lambda expression?
what is session in java?
What are the differences between graph and tree?
What do u mean by variable?
What is the difference between a synchronized method and a synchronized block?
how to one war file class to another war file class?
Explain purpose of sleep() method in java?
What is a short in java?
What is a ?
What is the synonym of string?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
What is numeric function?
What is the use of keywords in java?
Can we access the non-final local variable, inside the local inner class?